staging: vt6656: remove dead code DBG_PORT80/VIAWET_DEBUG
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 23 Jul 2013 22:10:59 +0000 (23:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:39:41 +0000 (13:39 -0700)
DBG_PORT80 is always defined as empty macro
because VIAWET_DEBUG is never defined. Remove
it and VIAWET_DEBUG.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device_cfg.h
drivers/staging/vt6656/wmgr.c

index ad1fbf6fab3d6fbb8b18d663711f7537dfaebeca..a97f7bb13db8dc8050c566182e923f43c48ced7d 100644 (file)
@@ -82,10 +82,4 @@ typedef enum  _chip_type {
     VT3184 = 1
 } CHIP_TYPE, *PCHIP_TYPE;
 
-#ifdef VIAWET_DEBUG
-#define DBG_PORT80(value)                   outb(value, 0x80)
-#else
-#define DBG_PORT80(value)
-#endif
-
 #endif
index 6d1ff5eeafa9501bcf7f1a5f7bbb39a03fde7b2e..b6cbd138a2b46c615b0870c2c8dca58d094372b5 100644 (file)
@@ -751,7 +751,6 @@ static void s_vMgrRxAssocResponse(struct vnt_private *pDevice,
            || (sFrame.pwStatus == NULL)
            || (sFrame.pwAid == NULL)
            || (sFrame.pSuppRates == NULL)) {
-               DBG_PORT80(0xCC);
                return;
         }
 
@@ -3750,7 +3749,6 @@ static void s_vMgrRxProbeResponse(struct vnt_private *pDevice,
 
        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Probe resp:Fail addr:[%p]\n",
                pRxPacket->p80211Header);
-       DBG_PORT80(0xCC);
        return;
     }