]> git.baikalelectronics.ru Git - kernel.git/commit
mt7615: mcu: do not use function pointers whenever possible
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 9 May 2019 07:54:00 +0000 (09:54 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 25 Jun 2019 10:55:26 +0000 (12:55 +0200)
commitc39fba1b692962daee32475a02203fcd33c5c247
treecc9f0e747464f8a742fe647c3d8d1b0498b733c5
parent067fb7388d9bdf6f910678559ccda45302bae140
mt7615: mcu: do not use function pointers whenever possible

Remove function pointers in mt7615_mcu_set_bss_info and run function
directly. Moreover remove __mt7615_mcu_set_bss_info since it is run just
by mt7615_mcu_set_bss_info and remove duplicated istructions

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c