From 9e9df6704c1929ffd76e73f4740a468e00c44c11 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sun, 17 Aug 2014 20:42:29 +0100 Subject: [PATCH] staging: vt6655: remove remaining comments of PLICE_DEBUG Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/device.h | 4 ---- drivers/staging/vt6655/dpc.c | 7 +++---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index fadebe969e6a..1abad5dedcfc 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -141,9 +141,7 @@ #define AVAIL_TD(p, q) ((p)->sOpts.nTxDescs[(q)] - ((p)->iTDUsed[(q)])) -//PLICE_DEBUG -> #define NUM 64 -//PLICE_DEUBG <- #define PRIVATE_Message 0 @@ -404,11 +402,9 @@ struct vnt_private { spinlock_t lock; -//PLICE_DEBUG -> pid_t MLMEThr_pid; struct completion notify; struct semaphore mlme_semaphore; -//PLICE_DEBUG <- u32 rx_bytes; diff --git a/drivers/staging/vt6655/dpc.c b/drivers/staging/vt6655/dpc.c index 7589cb4805f9..60eb1297ed83 100644 --- a/drivers/staging/vt6655/dpc.c +++ b/drivers/staging/vt6655/dpc.c @@ -312,10 +312,9 @@ device_receive_frame( skb = pRDInfo->skb; -//PLICE_DEBUG-> pci_unmap_single(pDevice->pcid, pRDInfo->skb_dma, pDevice->rx_buf_sz, PCI_DMA_FROMDEVICE); -//PLICE_DEBUG<- + pwFrameSize = (unsigned short *)(skb->data + 2); FrameSize = cpu_to_le16(pCurrRD->m_rd1RD1.wReqCount) - cpu_to_le16(pCurrRD->m_rd0RD0.wResCount); @@ -344,7 +343,7 @@ device_receive_frame( pr_debug("---------- WRONG Length 2\n"); return false; } -//PLICE_DEBUG-> + // update receive statistic counter STAvUpdateRDStatCounter(&pDevice->scStatistic, *pbyRsr, @@ -354,7 +353,7 @@ device_receive_frame( FrameSize); pMACHeader = (PS802_11Header)((unsigned char *)(skb->data) + 8); -//PLICE_DEBUG<- + if (pDevice->bMeasureInProgress) { if ((*pbyRsr & RSR_CRCOK) != 0) pDevice->byBasicMap |= 0x01; -- 2.20.1