Commit 1bc355cf authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman

staging: rtl8723bs: remove unused variable 'pregistrypriv'

drivers/staging/rtl8723bs/hal/sdio_halinit.c: In function HalRxAggr8723BSdio:
drivers/staging/rtl8723bs/hal/sdio_halinit.c:547:24: warning: variable pregistrypriv set but not used [-Wunused-but-set-variable]
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200421024145.43576-1-yuehaibing@huawei.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5c9e154c
...@@ -544,13 +544,9 @@ static void _InitRetryFunction(struct adapter *padapter) ...@@ -544,13 +544,9 @@ static void _InitRetryFunction(struct adapter *padapter)
static void HalRxAggr8723BSdio(struct adapter *padapter) static void HalRxAggr8723BSdio(struct adapter *padapter)
{ {
struct registry_priv *pregistrypriv;
u8 valueDMATimeout; u8 valueDMATimeout;
u8 valueDMAPageCount; u8 valueDMAPageCount;
pregistrypriv = &padapter->registrypriv;
valueDMATimeout = 0x06; valueDMATimeout = 0x06;
valueDMAPageCount = 0x06; valueDMAPageCount = 0x06;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment