mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-17 01:54:01 +08:00
staging: rtl8188eu: remove unused function parameters
The Enable and Linked parameters of _BeaconFunctionEnable are not used. Remove them. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210419201126.25633-4-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
94ed1611aa
commit
5369c41d16
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user