[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAMzoamZ0zDO+7NL4o84CPQ9u+wqCiuwxL0Sk73XQUoFyBjJaeA@mail.gmail.com>
Date: Tue, 7 Jun 2016 16:27:55 +0100
From: David Binderman <linuxdev.baldrick@...il.com>
To: mbroemme@...sserver.de, plagnioj@...osoft.com,
tomi.valkeinen@...com, linux-fbdev@...r.kernel.org,
linux-kernel@...r.kernel.org, dcb314@...mail.com
Subject: linux-4.7-rc2/drivers/video/fbdev/intelfb/intelfbdrv.c:1041]: (style)
Redundant condition
Hello there,
linux-4.7-rc2/drivers/video/fbdev/intelfb/intelfbdrv.c:1041]: (style)
Redundant condition: If 'msrc > 1', the comparison 'msrc' is always
true.
Source code is
if (msrc && msrc > 1) {
Maybe better code
if (msrc > 1) {
Regards
David Binderman
Powered by blists - more mailing lists