]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7925: Remove unnecessary if-check
authorThorsten Blum <thorsten.blum@linux.dev>
Sun, 23 Feb 2025 23:21:24 +0000 (00:21 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Mar 2025 13:47:03 +0000 (14:47 +0100)
commitffb9d7bcd3e3e2d937bcfd7fc064b15f3b7ca3e3
treea44fba86306c73d435606d4b1e3ae41ba5430a29
parent4bc1da524b502999da28d287de4286c986a1af57
wifi: mt76: mt7925: Remove unnecessary if-check

The if and else branches implement the same logic. Remove the
unnecessary if-check and simplify the code.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250223232127.99357-2-thorsten.blum@linux.dev
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c