[PATCH] staging: rtl8712: rtl871x_ioctl_linux.c: Cleaning up useless if statement

Rickard Strandqvist rickard_strandqvist at spectrumdigital.se
Sun Jun 15 17:20:57 UTC 2014


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



More information about the devel mailing list