]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7921: get rid of useless MT76_STATE_PM in mt7921_mac_work
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 18 Apr 2021 16:45:38 +0000 (18:45 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Apr 2021 18:55:53 +0000 (20:55 +0200)
commit6359ec4cb6c9f3f920ee57243921ac9c31f5a754
tree949fe683466366028a15eaa8604e5e5d16282909
parent5788531ad949cf9680abee00f6970c89edadf093
mt76: mt7921: get rid of useless MT76_STATE_PM in mt7921_mac_work

Remove useless MT76_STATE_PM check in mt7921_mac_work since
mt7921_mutex_acquire will wake up the device if necessary

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