]> Git Repo - linux.git/commitdiff
staging: rtl8188eu: remove unused function parameters
authorMartin Kaiser <[email protected]>
Mon, 19 Apr 2021 20:11:26 +0000 (22:11 +0200)
committerGreg Kroah-Hartman <[email protected]>
Thu, 22 Apr 2021 08:42:23 +0000 (10:42 +0200)
The Enable and Linked parameters of _BeaconFunctionEnable are not used.
Remove them.

Signed-off-by: Martin Kaiser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/rtl8188eu/hal/usb_halinit.c

index abe58cf2de1646945a5f5f7328b5d7af6877e9df..80cdcf6f787945f656cf4c076f1838aa49293f8d 100644 (file)
@@ -574,8 +574,7 @@ static void _InitBeaconParameters(struct adapter *Adapter)
        haldata->RegCR_1 = usb_read8(Adapter, REG_CR + 1);
 }
 
-static void _BeaconFunctionEnable(struct adapter *Adapter,
-                                 bool Enable, bool Linked)
+static void _BeaconFunctionEnable(struct adapter *Adapter)
 {
        usb_write8(Adapter, REG_BCN_CTRL, (BIT(4) | BIT(3) | BIT(1)));
 
@@ -1961,7 +1960,7 @@ void beacon_timing_control(struct adapter *adapt)
        usb_write8(adapt,  REG_RXTSF_OFFSET_CCK, 0x50);
        usb_write8(adapt, REG_RXTSF_OFFSET_OFDM, 0x50);
 
-       _BeaconFunctionEnable(adapt, true, true);
+       _BeaconFunctionEnable(adapt);
 
        ResumeTxBeacon(adapt);
 
This page took 0.060389 seconds and 4 git commands to generate.