Staging: w35und: Remove unused struct _RXBUFFER
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 12 Aug 2009 08:03:34 +0000 (11:03 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:17 +0000 (12:02 -0700)
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>
drivers/staging/winbond/mds_s.h
drivers/staging/winbond/mlmetxrx_f.h

index d9ac2eccd2f9d26c80c94192dc2bb27dca244dc1..e8e13bde47448822fd35670a0d488717ced242a9 100644 (file)
@@ -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
 
index 5f05a6e1cda02f523bf93333c632d696c294f384..26cf101a5a44718c5ad10e50ce420e923929dd7c 100644 (file)
@@ -24,14 +24,6 @@ u8 MLMESendFrame( struct wbsoft_priv * adapter,
 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,