summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-08-12 08:03:34 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:02:17 (GMT)
commit27f362e7692be874348c02ac8676367842c842cc (patch)
tree3929221bc851aa57ba630fdcc43df9222fb5736a
parentb7caf94fb8dcfea7a44251977bb3f1b7a8cbfeb4 (diff)
downloadlinux-27f362e7692be874348c02ac8676367842c842cc.tar.xz
Staging: w35und: Remove unused struct _RXBUFFER
Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/winbond/mds_s.h12
-rw-r--r--drivers/staging/winbond/mlmetxrx_f.h8
2 files changed, 0 insertions, 20 deletions
diff --git a/drivers/staging/winbond/mds_s.h b/drivers/staging/winbond/mds_s.h
index d9ac2ec..e8e13bd 100644
--- a/drivers/staging/winbond/mds_s.h
+++ b/drivers/staging/winbond/mds_s.h
@@ -67,7 +67,6 @@ enum {
#define RX_BUF_SIZE 2352 // 600 // For 301 must be multiple of 8
#define MAX_RX_DESCRIPTORS 18 // Rx Layer 2
-#define MAX_BUFFER_QUEUE 8 // The value is always equal 8 due to NDIS_PACKET's MiniportReserved field size
// For brand-new rx system
@@ -134,15 +133,6 @@ struct wb35_mds {
};
-
-typedef struct _RxBuffer
-{
- u8 * pBufferAddress; // Pointer the received data buffer.
- u16 BufferSize;
- u8 RESERVED;
- u8 BufferIndex;// Only 1 byte
-} RXBUFFER, *PRXBUFFER;
-
//
// Reveive Layer 1 Format.
//----------------------------
@@ -161,8 +151,6 @@ typedef struct _RXLAYER1
u32 FirstFrameArrivedTime;
- RXBUFFER BufferQueue[ MAX_BUFFER_QUEUE ];
-
u8 LastFrameType; // 20061004 for fix intel 3945 's bug
u8 RESERVED[3]; //@@ anson
diff --git a/drivers/staging/winbond/mlmetxrx_f.h b/drivers/staging/winbond/mlmetxrx_f.h
index 5f05a6e..26cf101 100644
--- a/drivers/staging/winbond/mlmetxrx_f.h
+++ b/drivers/staging/winbond/mlmetxrx_f.h
@@ -25,14 +25,6 @@ void
MLME_SendComplete( struct wbsoft_priv * adapter, u8 PacketID, unsigned char SendOK );
void
-MLMERcvFrame(
- struct wbsoft_priv * adapter,
- PRXBUFFER pRxBufferArray,
- u8 NumOfBuffer,
- u8 ReturnSlotIndex
- );
-
-void
MLMEReturnPacket(
struct wbsoft_priv * adapter,
u8 * pRxBufer