All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3] drivers: staging: vt6656: card.c, card.h: Remove useless function
@ 2011-12-18 21:12 Marcos Paulo de Souza
  2011-12-22 21:37 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Marcos Paulo de Souza @ 2011-12-18 21:12 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Marcos Paulo de Souza

This patch removes a function who is not used by anybody.

Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
---
 drivers/staging/vt6656/card.c |   48 -----------------------------------------
 drivers/staging/vt6656/card.h |    5 ----
 2 files changed, 0 insertions(+), 53 deletions(-)

diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index 6f2adfe..0cdde6c 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -1056,51 +1056,3 @@ void CARDvSetBSSMode(void *pDeviceHandler)
         pDevice->abyBBVGA[3] = 0x0;
     }
 }
-
-/*
- *
- * Description:
- *    Do Channel Switch defined in 802.11h
- *
- * Parameters:
- *  In:
- *      hDeviceContext - device structure point
- *  Out:
- *      none
- *
- * Return Value: none.
- *
--*/
-BOOL
-CARDbChannelSwitch (
-     void *pDeviceHandler,
-     BYTE             byMode,
-     BYTE             byNewChannel,
-     BYTE             byCount
-    )
-{
-    PSDevice    pDevice = (PSDevice) pDeviceHandler;
-    BOOL        bResult = TRUE;
-
-    if (byCount == 0) {
-        pDevice->sMgmtObj.uCurrChannel = byNewChannel;
-        CARDbSetMediaChannel(pDevice, byNewChannel);
-
-	return bResult;
-    }
-    pDevice->byChannelSwitchCount = byCount;
-    pDevice->byNewChannel = byNewChannel;
-    pDevice->bChannelSwitch = TRUE;
-
-    if (byMode == 1) {
-        //bResult=CARDbStopTxPacket(pDevice, PKT_TYPE_802_11_ALL);
-        pDevice->bStopDataPkt = TRUE;
-    }
-	return bResult;
-}
-
-
-
-
-
-
diff --git a/drivers/staging/vt6656/card.h b/drivers/staging/vt6656/card.h
index 0668a2d..2959308 100644
--- a/drivers/staging/vt6656/card.h
+++ b/drivers/staging/vt6656/card.h
@@ -81,9 +81,4 @@ BOOL CARDbRadioPowerOn(void *pDeviceHandler);
 BYTE CARDbyGetPktType(void *pDeviceHandler);
 void CARDvSetBSSMode(void *pDeviceHandler);
 
-BOOL CARDbChannelSwitch(void *pDeviceHandler,
-			BYTE byMode,
-			BYTE byNewChannel,
-			BYTE byCount);
-
 #endif /* __CARD_H__ */
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 3/3] drivers: staging: vt6656: card.c, card.h: Remove useless function
  2011-12-18 21:12 [PATCH 3/3] drivers: staging: vt6656: card.c, card.h: Remove useless function Marcos Paulo de Souza
@ 2011-12-22 21:37 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2011-12-22 21:37 UTC (permalink / raw)
  To: Marcos Paulo de Souza; +Cc: gregkh, devel, linux-kernel

On Sun, Dec 18, 2011 at 09:12:41PM +0000, Marcos Paulo de Souza wrote:
> This patch removes a function who is not used by anybody.
> 
> Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>

This patch doesn't apply :(


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-22 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-18 21:12 [PATCH 3/3] drivers: staging: vt6656: card.c, card.h: Remove useless function Marcos Paulo de Souza
2011-12-22 21:37 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.