mwifiex: delete unused mwifiex_get_intf_num()
authorBrian Norris <briannorris@chromium.org>
Tue, 10 Dec 2019 00:39:11 +0000 (16:39 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 19:04:43 +0000 (21:04 +0200)
commit1c9f329b084b7b8ea6d60d91a202e884cdcf6aae
tree9a204804d4a143fcf4909b9a671f53f76a4797b2
parentd0b103a52b72a45b381332d4421ac3e2eaccecb7
mwifiex: delete unused mwifiex_get_intf_num()

Commit 7afb94da3cd8 ("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: 7afb94da3cd8 ("mwifiex: update set_mac_address logic")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.h