From d4da3af667d251cc853d1873a1fad4db6daabf5f Mon Sep 17 00:00:00 2001 From: Hannes Eder Date: Thu, 18 Dec 2008 21:24:18 +0100 Subject: drm/i915: fix sparse warnings: returning void-valued expression Signed-off-by: Hannes Eder Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- drivers/gpu/drm/i915/intel_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu') diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 579dc42a6464..6e8b9ab83e97 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -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); } /** -- cgit v1.2.3