diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-09-07 12:14:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-13 09:23:01 +0200 |
commit | 135baf19e56d3df560052036f642863858059112 (patch) | |
tree | 4e7f0d4fd5613487b8b7536e5715f7dca89134d1 /drivers/staging/wfx/hif_tx_mib.c | |
parent | 99cd05d6a09a91b90d0845299f3cb765dbb9ae91 (diff) | |
download | linux-135baf19e56d3df560052036f642863858059112.tar.gz linux-135baf19e56d3df560052036f642863858059112.tar.bz2 linux-135baf19e56d3df560052036f642863858059112.zip |
staging: wfx: drop useless function
Since the code for multicast filtering has been dropped, the function
hif_set_data_filtering() is only called to disable multicast filtering.
In fact, the multicast filtering is already disabled by default. So,
this function is useless and can be dropped.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200907101521.66082-8-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/hif_tx_mib.c')
-rw-r--r-- | drivers/staging/wfx/hif_tx_mib.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/wfx/hif_tx_mib.c b/drivers/staging/wfx/hif_tx_mib.c index 7f24e9f77c22..2eb2a20890c7 100644 --- a/drivers/staging/wfx/hif_tx_mib.c +++ b/drivers/staging/wfx/hif_tx_mib.c @@ -228,17 +228,6 @@ int hif_set_tx_rate_retry_policy(struct wfx_vif *wvif, return ret; } -int hif_set_data_filtering(struct wfx_vif *wvif, bool enable, bool invert) -{ - struct hif_mib_set_data_filtering val = { - .enable = enable, - .invert_matching = invert, - }; - - return hif_write_mib(wvif->wdev, wvif->id, - HIF_MIB_ID_SET_DATA_FILTERING, &val, sizeof(val)); -} - int hif_keep_alive_period(struct wfx_vif *wvif, int period) { struct hif_mib_keep_alive_period arg = { |