]> git.ipfire.org Git - people/arne_f/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:42:21 +0000 (16:42 +0100)
commit6390f6ba90d0396e5c207e075a7ab7ba823dc37f
tree4d99ed2527d5d8e022c65e667d22fe2112f4e696
parent8892a7b91eba3888378cd914fd5fcfad3c1e8c0e
mwifiex: delete unused mwifiex_get_intf_num()

commit 1c9f329b084b7b8ea6d60d91a202e884cdcf6aae upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/marvell/mwifiex/main.h