mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
staging: rtl8188eu: remove unused CAM_empty_entry()
The function CAM_empty_entry() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
891f6de39c
commit
b045b42915
@ -434,11 +434,6 @@ unsigned int decide_wait_for_beacon_timeout(unsigned int bcn_interval)
|
||||
return bcn_interval << 2;
|
||||
}
|
||||
|
||||
void CAM_empty_entry(struct adapter *Adapter, u8 ucIndex)
|
||||
{
|
||||
rtw_hal_set_hwreg(Adapter, HW_VAR_CAM_EMPTY_ENTRY, (u8 *)(&ucIndex));
|
||||
}
|
||||
|
||||
void invalidate_cam_all(struct adapter *padapter)
|
||||
{
|
||||
rtw_hal_set_hwreg(padapter, HW_VAR_CAM_INVALID_ALL, NULL);
|
||||
|
@ -487,7 +487,6 @@ void write_cam(struct adapter *padapter, u8 entry, u16 ctrl, u8 *mac, u8 *key);
|
||||
void clear_cam_entry(struct adapter *padapter, u8 entry);
|
||||
|
||||
void invalidate_cam_all(struct adapter *padapter);
|
||||
void CAM_empty_entry(struct adapter *Adapter, u8 ucIndex);
|
||||
|
||||
int allocate_fw_sta_entry(struct adapter *padapter);
|
||||
void flush_all_cam_entry(struct adapter *padapter);
|
||||
|
Loading…
Reference in New Issue
Block a user