]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 6 Mar 2020 13:05:57 +0000 (14:05 +0100)
commitc3b3a7ee9c48b545b72c6b33d4f6618ad64da102
tree04541a4f4dfe4a533a848fd74db70b8b5196f2db
parent2c3386abc76663d76137b199564fc1cfd7e00a09
mwifiex: delete unused mwifiex_get_intf_num()

BugLink: https://bugs.launchpad.net/bugs/1866333
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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/wireless/marvell/mwifiex/main.h