Commit d4da3af6 authored by Hannes Eder's avatar Hannes Eder Committed by Dave Airlie

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

Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 606df4e0
......@@ -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);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment