]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mt76: Remove dead code in mt76_scan_work
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 26 Aug 2025 08:13:04 +0000 (10:13 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 15 Sep 2025 07:47:39 +0000 (09:47 +0200)
commit1318d6822f6ceca5a6932655d140aea56f672f52
tree31bd101f5adeaf7921117c824768eb0fbbadc229
parent6ccb6bb9bd7de15b148cb2b4e7229091aa17ce18
wifi: mt76: Remove dead code in mt76_scan_work

Duration can't be equal to 0 in mt76_scan_work routine so get rid of
related if condition.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250826-mt76_scan_work-dead-code-v1-1-ac5234c4d044@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/scan.c