From: Pekka Enberg Date: Wed, 12 Aug 2009 08:03:34 +0000 (+0300) Subject: Staging: w35und: Remove unused struct _RXBUFFER X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27f362e7692be874348c02ac8676367842c842cc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: w35und: Remove unused struct _RXBUFFER Acked-by: Pavel Machek Signed-off-by: Pekka Enberg Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/winbond/mds_s.h b/drivers/staging/winbond/mds_s.h index d9ac2eccd2f9..e8e13bde4744 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 5f05a6e1cda0..26cf101a5a44 100644 --- a/drivers/staging/winbond/mlmetxrx_f.h +++ b/drivers/staging/winbond/mlmetxrx_f.h @@ -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,