]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: delete unused mwifiex_get_intf_num()
authorBrian Norris <briannorris@chromium.org>
Tue, 10 Dec 2019 00:39:11 +0000 (16:39 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:43:48 +0000 (16:43 +0100)
commit276eae592d2083f1c018599683183c910bc464b4
treeef73fd43e24d137b5c8bef33bcf8a0ac3576d9a9
parent10223d712e28b4a108ea48daef179aa820a5f890
mwifiex: delete unused mwifiex_get_intf_num()

commit bc05287de51f4bd71765afda4215b6cbbce7ed68 upstream.

Commit 69ff26296b09 ("mwifiex: update set_mac_address logic") fixed the
only user of this function, partly because the author seems to have
noticed that, as written, it's on the borderline between highly
misleading and buggy.

Anyway, no sense in keeping dead code around: let's drop it.

Fixes: 69ff26296b09 ("mwifiex: update set_mac_address logic")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/marvell/mwifiex/main.h