]> 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)
commit80aa1581af8ddf0a9240e2081796fabbe6363f45
tree949fe683466366028a15eaa8604e5e5d16282909
parent4caf8973ae72e28f7b3e4c100ae073be9fdd49c7
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