OSDN Git Service

staging:rtl8192u: Remove unused enum dm_dig_dbg_e - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Sun, 29 Jul 2018 21:07:43 +0000 (22:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Jul 2018 09:12:32 +0000 (11:12 +0200)
The enumerated type dm_dig_dbg_e is never used in code so has simply
been removed from the source code.

this is a coding style change which should have no impact on runtime
code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_dm.h

index 9cea9b8..c15faa4 100644 (file)
@@ -110,12 +110,6 @@ struct dig {
        long            rssi_val;
 };
 
-typedef enum tag_dig_dbgmode_definition {
-       DIG_DBG_OFF = 0,
-       DIG_DBG_ON = 1,
-       DIG_DBG_MAX
-} dm_dig_dbg_e;
-
 typedef enum tag_dig_connect_definition {
        DIG_DISCONNECT = 0,
        DIG_CONNECT = 1,