staging: rtl8192e: Fix DO_WHILE_MACRO_WITH_TRAILING_SEMICOLON warning
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Tue, 31 Mar 2015 22:24:32 +0000 (00:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 13:29:30 +0000 (15:29 +0200)
Fix 'do {} while (0) macros should not be semicolon terminated'
checkpatch.pl warning

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_debug.h

index 90cffab4287eccdba832a2e29695acab3503a8f7..119729d31c74705c0dd5ef8de04e84bb8c016f91 100644 (file)
@@ -83,6 +83,6 @@ do {  \
                pr_info("Assertion failed! %s,%s,%s,line=%d\n", \
                #expr, __FILE__, __func__, __LINE__);     \
        }       \
-} while (0);
+} while (0)
 
 #endif