Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8723bs: remove the repeated declaration

Function 'rtw_indicate_wx_disassoc_event' and 'Hal_SetBandwidth' are
declared twice in their header file, so remove the repeated declaration.

Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Link: https://lore.kernel.org/r/1622077092-50618-1-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Shaokun Zhang and committed by
Greg Kroah-Hartman
90c97618 cb293e6b

-2
-1
drivers/staging/rtl8723bs/include/drv_types.h
··· 503 503 504 504 void rtw_indicate_wx_disassoc_event(struct adapter *padapter); 505 505 void rtw_indicate_wx_assoc_event(struct adapter *padapter); 506 - void rtw_indicate_wx_disassoc_event(struct adapter *padapter); 507 506 void indicate_wx_scan_complete_event(struct adapter *padapter); 508 507 int rtw_change_ifname(struct adapter *padapter, const char *ifname); 509 508
-1
drivers/staging/rtl8723bs/include/rtw_mp.h
··· 348 348 void Hal_SetSingleToneTx(struct adapter *padapter, u8 bStart); 349 349 void Hal_SetSingleCarrierTx(struct adapter *padapter, u8 bStart); 350 350 void Hal_SetContinuousTx(struct adapter *padapter, u8 bStart); 351 - void Hal_SetBandwidth(struct adapter *padapter); 352 351 353 352 void Hal_SetDataRate(struct adapter *padapter); 354 353 void Hal_SetChannel(struct adapter *padapter);