staging: rtl8192e: Silence smatch info in r8192E_cmdpkt.c
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 1 Sep 2011 17:23:17 +0000 (12:23 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:35:57 +0000 (16:35 -0700)
Smatch outputs the following informational message:

  CHECK   drivers/staging/rtl8192e/r8192E_cmdpkt.c
drivers/staging/rtl8192e/r8192E_cmdpkt.c +419 cmpk_message_handle_rx(77) info: ignoring unreachable code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/r8192E_cmdpkt.c

index 09978b6428f1029943648bf172507474faf174f3..58d044ea55244dd09b0aa73df22be7cbcd663ed8 100644 (file)
@@ -415,6 +415,4 @@ u32 cmpk_message_handle_rx(struct net_device *dev,
                pcmd_buff    += cmd_length;
        }
        return  1;
-
-       RT_TRACE(COMP_CMDPKT, "<----cmpk_message_handle_rx()\n");
 }