drm/i915: fix sparse warnings: returning void-valued expression
authorHannes Eder <hannes@hanneseder.net>
Thu, 18 Dec 2008 20:24:18 +0000 (21:24 +0100)
committerDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 07:47:26 +0000 (17:47 +1000)
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/i915/intel_display.c

index 579dc42a646476952c69f8712389818fb4f54a44..6e8b9ab83e9737ce8f3894c365590d76b3e5dd3c 100644 (file)
@@ -213,9 +213,9 @@ static void intel_clock(struct drm_device *dev, int refclk,
                        intel_clock_t *clock)
 {
        if (IS_I9XX(dev))
-               return i9xx_clock (refclk, clock);
+               i9xx_clock (refclk, clock);
        else
-               return i8xx_clock (refclk, clock);
+               i8xx_clock (refclk, clock);
 }
 
 /**