[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1267455868-4533-13-git-send-email-penberg@cs.helsinki.fi>
Date: Mon, 1 Mar 2010 17:04:15 +0200
From: Pekka Enberg <penberg@...helsinki.fi>
To: greg@...ah.com
Cc: linux-kernel@...r.kernel.org,
Pekka Enberg <penberg@...helsinki.fi>,
Pavel Machek <pavel@....cz>
Subject: [PATCH 13/26] w35und: Remove unused struct _MLMECALLBACK
Cc: Pavel Machek <pavel@....cz>
Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
---
drivers/staging/winbond/mlme_s.h | 7 -------
drivers/staging/winbond/mlmetxrx.c | 5 -----
2 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/winbond/mlme_s.h b/drivers/staging/winbond/mlme_s.h
index cab3b38..2126d13 100644
--- a/drivers/staging/winbond/mlme_s.h
+++ b/drivers/staging/winbond/mlme_s.h
@@ -158,13 +158,6 @@ typedef struct _MLME_FRAME
// excluding the discarded
} MLME_FRAME, *psMLME_FRAME;
-typedef struct _MLMECALLBACK {
-
- u8 *psFramePtr;
- u8 bResult;
-
-} MLME_TXCALLBACK, *psMLME_TXCALLBACK;
-
typedef struct _RXDATA
{
s32 FrameLength;
diff --git a/drivers/staging/winbond/mlmetxrx.c b/drivers/staging/winbond/mlmetxrx.c
index f856b94..4f16121 100644
--- a/drivers/staging/winbond/mlmetxrx.c
+++ b/drivers/staging/winbond/mlmetxrx.c
@@ -76,15 +76,10 @@ static void MLMEfreeMMPDUBuffer(struct wbsoft_priv *adapter, s8 *pData)
void
MLME_SendComplete(struct wbsoft_priv * adapter, u8 PacketID, unsigned char SendOK)
{
- MLME_TXCALLBACK TxCallback;
-
// Reclaim the data buffer
adapter->sMlmeFrame.len = 0;
MLMEfreeMMPDUBuffer( adapter, adapter->sMlmeFrame.pMMPDU );
-
- TxCallback.bResult = MLME_SUCCESS;
-
// Return resource
adapter->sMlmeFrame.IsInUsed = PACKET_FREE_TO_USE;
}
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists