Message ID | 20190819181757.204572-1-briannorris@chromium.org (mailing list archive) |
---|---|
State | Accepted |
Commit | d74d0767b95ed3a1d8f08fb00c8a1b111d50c634 |
Delegated to: | Kalle Valo |
Headers | show |
Series | [5.4] rtw88: drop unused rtw_coex_coex_dm_reset() | expand |
Brian Norris <briannorris@chromium.org> wrote: > From: Guenter Roeck <groeck@chromium.org> > > 0day reports: > > sparse warnings: > > drivers/net/wireless/realtek/rtw88/coex.c:2457:6: sparse: > symbol 'rtw_coex_coex_dm_reset' was not declared. Should it be static? > > rtw_coex_coex_dm_reset() is not called. Remove it. > > Fixes: 4136214f7c46 ("rtw88: add BT co-existence support") > Reported-by: kbuild test robot <lkp@intel.com> > Signed-off-by: Guenter Roeck <groeck@chromium.org> > Signed-off-by: Brian Norris <briannorris@chromium.org> Patch applied to wireless-drivers-next.git, thanks. d74d0767b95e rtw88: drop unused rtw_coex_coex_dm_reset()
diff --git a/drivers/net/wireless/realtek/rtw88/coex.c b/drivers/net/wireless/realtek/rtw88/coex.c index 4577fceddc5e..9ee860db651a 100644 --- a/drivers/net/wireless/realtek/rtw88/coex.c +++ b/drivers/net/wireless/realtek/rtw88/coex.c @@ -2454,11 +2454,6 @@ void rtw_coex_wl_fwdbginfo_notify(struct rtw_dev *rtwdev, u8 *buf, u8 length) rtw_coex_wl_ccklock_detect(rtwdev); } -void rtw_coex_coex_dm_reset(struct rtw_dev *rtwdev) -{ - __rtw_coex_init_hw_config(rtwdev, false); -} - void rtw_coex_wl_status_change_notify(struct rtw_dev *rtwdev) { struct rtw_coex *coex = &rtwdev->coex;