public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8712: rtl871x_ioctl_linux.c:  Cleaning up useless if statement
@ 2014-06-15 17:20 Rickard Strandqvist
  2014-06-15 17:20 ` Rickard Strandqvist
  2014-06-16  9:05 ` Dan Carpenter
  0 siblings, 2 replies; 5+ messages in thread
From: Rickard Strandqvist @ 2014-06-15 17:20 UTC (permalink / raw)
  To: Larry Finger, Florian Schilhabel
  Cc: Rickard Strandqvist, Greg Kroah-Hartman, Paul Gortmaker,
	Thomas Cort, Andy Shevchenko, devel, linux-kernel

The same code regardless of the outcome of the if statement. This may of
course be a miss and there should be a difference in the code.
And clean up another duplicate line of code.

This was partly found using a static code analysis program called cppcheck.

Rickard Strandqvist (1):
  staging: rtl8712: rtl871x_ioctl_linux.c:  Cleaning up useless if statement

 drivers/staging/rtl8712/rtl871x_ioctl_linux.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-20 10:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-15 17:20 [PATCH] staging: rtl8712: rtl871x_ioctl_linux.c: Cleaning up useless if statement Rickard Strandqvist
2014-06-15 17:20 ` Rickard Strandqvist
2014-06-16  9:05 ` Dan Carpenter
2014-06-20 10:46   ` Rickard Strandqvist
2014-06-20 10:59     ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox