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

From: Rickard Strandqvist
Date: Sun Jun 15 2014 - 13:20:08 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/