forked from luck/tmp_suning_uos_patched
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:
parent
606df4e024
commit
d4da3af667
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user