staging: r8188eu: remove unused local variable

Remove unused local variable padapter from rtl8188eu_init_recvbuf().
Function is not using this variable.

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YXWnd5X9+p0X+1EB@Sauravs-MacBook-Air.local
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Saurav Girepunje 2021-10-25 00:05:35 +05:30 committed by Greg Kroah-Hartman
parent 7e4c7947b4
commit 29ac48f927
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
#include "../include/rtl8188e_hal.h" #include "../include/rtl8188e_hal.h"
void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *precvbuf) void rtl8188eu_init_recvbuf(struct recv_buf *precvbuf)
{ {
precvbuf->transfer_len = 0; precvbuf->transfer_len = 0;

View File

@ -483,7 +483,7 @@ u32 rtw_read_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *rmem)
precvbuf->reuse = true; precvbuf->reuse = true;
} }
rtl8188eu_init_recvbuf(adapter, precvbuf); rtl8188eu_init_recvbuf(precvbuf);
/* re-assign for linux based on skb */ /* re-assign for linux based on skb */
if (!precvbuf->reuse || !precvbuf->pskb) { if (!precvbuf->reuse || !precvbuf->pskb) {

View File

@ -40,7 +40,7 @@ enum rx_packet_type {
}; };
#define INTERRUPT_MSG_FORMAT_LEN 60 #define INTERRUPT_MSG_FORMAT_LEN 60
void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *buf); void rtl8188eu_init_recvbuf(struct recv_buf *buf);
s32 rtl8188eu_init_recv_priv(struct adapter *padapter); s32 rtl8188eu_init_recv_priv(struct adapter *padapter);
void rtl8188eu_free_recv_priv(struct adapter * padapter); void rtl8188eu_free_recv_priv(struct adapter * padapter);
void rtl8188eu_recv_hdl(struct adapter * padapter, struct recv_buf *precvbuf); void rtl8188eu_recv_hdl(struct adapter * padapter, struct recv_buf *precvbuf);