提交 d4da3af6 编写于 作者: H Hannes Eder 提交者: Dave Airlie

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

Signed-off-by: NHannes Eder <hannes@hanneseder.net>
Signed-off-by: NEric Anholt <eric@anholt.net>
Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册