drm/i915: fix sparse warnings: returning void-valued expression

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
Hannes Eder 2008-12-18 21:24:18 +01:00 committed by Dave Airlie
parent 606df4e024
commit d4da3af667

View File

@ -213,9 +213,9 @@ static void intel_clock(struct drm_device *dev, int refclk,
intel_clock_t *clock) intel_clock_t *clock)
{ {
if (IS_I9XX(dev)) if (IS_I9XX(dev))
return i9xx_clock (refclk, clock); i9xx_clock (refclk, clock);
else else
return i8xx_clock (refclk, clock); i8xx_clock (refclk, clock);
} }
/** /**