staging: rtl8188eu: Macros with complex values should be enclosed in parentheses
authorAlfonso Lima Astor <alfonsolimaastor@gmail.com>
Wed, 29 Mar 2017 19:20:32 +0000 (20:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 10:58:29 +0000 (12:58 +0200)
This macro is not used and also had a style error. I have run
grep and compiled the module to be sure.

Signed-off-by: Alfonso Lima Astor <alfonsolimaastor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_ioctl.h

index a6b1c854a0612279deba31852e6c501a6cb12b0b..0fa78ed2c1abf1f33fcd4ad618deb7f3dc71238c 100644 (file)
 #define OID_MP_SEG3            0xFF818700
 #define OID_MP_SEG4            0xFF011100
 
-#define DEBUG_OID(dbg, str)                                            \
-       if ((!dbg)) {                                                   \
-               RT_TRACE(_module_rtl871x_ioctl_c_, _drv_info_,          \
-                        ("%s(%d): %s", __func__, __line__, str));      \
-       }
-
 enum oid_type {
        QUERY_OID,
        SET_OID