[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9871ef86-0cd6-aab8-1252-53bc08fc79af@users.sourceforge.net>
Date: Thu, 8 Feb 2018 15:40:14 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: dri-devel@...ts.freedesktop.org, David Airlie <airlied@...ux.ie>,
Patrik Jakobsson <patrik.r.jakobsson@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 3/3] drm/gma500: Delete an unnecessary return statement in
oaktrail_crtc_hdmi_dpms()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Thu, 8 Feb 2018 15:17:48 +0100
The script "checkpatch.pl" pointed information out like the following.
WARNING: void function return statements are not generally useful
Thus remove such a statement in the affected function.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi.c b/drivers/gpu/drm/gma500/oaktrail_hdmi.c
index dbc58e5130bb..24c7c6edfca5 100644
--- a/drivers/gpu/drm/gma500/oaktrail_hdmi.c
+++ b/drivers/gpu/drm/gma500/oaktrail_hdmi.c
@@ -484,8 +484,6 @@ void oaktrail_crtc_hdmi_dpms(struct drm_crtc *crtc, int mode)
/* LNC Chicken Bits - Squawk! */
REG_WRITE(0x70400, 0x4000);
-
- return;
}
static void oaktrail_hdmi_dpms(struct drm_encoder *encoder, int mode)
--
2.16.1
Powered by blists - more mailing lists