aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/hal/usb_halinit.c
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2018-10-14 12:17:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-14 13:33:15 +0200
commit6d475d38e6a5a32ac8f840cc6e351db1806c1404 (patch)
tree5bc20c7eb2f3ea412f9a32ecf36f4f2dc52651dc /drivers/staging/rtl8188eu/hal/usb_halinit.c
parentstaging: rtl8188eu: remove whitespace in qos_acm() (diff)
downloadlinux-dev-6d475d38e6a5a32ac8f840cc6e351db1806c1404.tar.xz
linux-dev-6d475d38e6a5a32ac8f840cc6e351db1806c1404.zip
staging: rtl8188eu: remove unused parameter of HalSetBrateCfg()
The parameter 'struct adapter *adapt' of HalSetBrateCfg() is unused, so remove it. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/usb_halinit.c')
-rw-r--r--drivers/staging/rtl8188eu/hal/usb_halinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 75a28bf095fb..71c3c5642466 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -1267,7 +1267,7 @@ void rtw_hal_set_hwreg(struct adapter *Adapter, u8 variable, u8 *val)
/* Select RRSR (in Legacy-OFDM and CCK) */
/* For 8190, we select only 24M, 12M, 6M, 11M, 5.5M, 2M, and 1M from the Basic rate. */
/* We do not use other rates. */
- HalSetBrateCfg(Adapter, val, &BrateCfg);
+ HalSetBrateCfg(val, &BrateCfg);
DBG_88E("HW_VAR_BASIC_RATE: BrateCfg(%#x)\n", BrateCfg);
/* 2011.03.30 add by Luke Lee */