Commit f830a013 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: remove dead code DBG_PORT80/VIAWET_DEBUG

DBG_PORT80 is always defined as empty macro
because VIAWET_DEBUG is never defined. Remove
it and VIAWET_DEBUG.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8dbc6aa0
...@@ -82,10 +82,4 @@ typedef enum _chip_type { ...@@ -82,10 +82,4 @@ typedef enum _chip_type {
VT3184 = 1 VT3184 = 1
} CHIP_TYPE, *PCHIP_TYPE; } CHIP_TYPE, *PCHIP_TYPE;
#ifdef VIAWET_DEBUG
#define DBG_PORT80(value) outb(value, 0x80)
#else
#define DBG_PORT80(value)
#endif
#endif #endif
...@@ -751,7 +751,6 @@ static void s_vMgrRxAssocResponse(struct vnt_private *pDevice, ...@@ -751,7 +751,6 @@ static void s_vMgrRxAssocResponse(struct vnt_private *pDevice,
|| (sFrame.pwStatus == NULL) || (sFrame.pwStatus == NULL)
|| (sFrame.pwAid == NULL) || (sFrame.pwAid == NULL)
|| (sFrame.pSuppRates == NULL)) { || (sFrame.pSuppRates == NULL)) {
DBG_PORT80(0xCC);
return; return;
} }
...@@ -3750,7 +3749,6 @@ static void s_vMgrRxProbeResponse(struct vnt_private *pDevice, ...@@ -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", DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Probe resp:Fail addr:[%p]\n",
pRxPacket->p80211Header); pRxPacket->p80211Header);
DBG_PORT80(0xCC);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment