]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rt2x00: remove redundant functions rt2x00mac_sta_{add/remove}
authorYueHaibing <yuehaibing@huawei.com>
Fri, 27 Jul 2018 13:05:49 +0000 (21:05 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:27:40 +0000 (10:27 +0300)
commit24ebfcbdd1ba623daa1ba140067d7b6102bcfe0d
tree3b00fcc7c0080fc13b65705005eabd989cc6a086
parent622e938240db71365958824cc91af1bb5c481f5e
rt2x00: remove redundant functions rt2x00mac_sta_{add/remove}

Only rt2800 subdriver of rt2x00 implement sta_add() and sta_remove(),
rt2x00mac_sta_add and rt2x00mac_sta_remove has no callers after
commit 9c87758cf089 ("rt2x00: call sta_add/remove directly in rt2800").
So can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2x00mac.c