]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7996: remove duplicate check in mt7996_mcu_sta_mld_setup_tlv()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 21 Mar 2025 14:35:35 +0000 (17:35 +0300)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 May 2025 12:49:39 +0000 (14:49 +0200)
commitc29f2c773afc2b56edffa9b4372d07322018a689
treef09906fe44a25766fef3e66353b1c1947c8b60f8
parentf22037407cb40a4e7bfa4b5d1853fa6c2f3bef6f
wifi: mt76: mt7996: remove duplicate check in mt7996_mcu_sta_mld_setup_tlv()

The "msta_link" pointer has two NULL checks.  Delete the second check.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/fde7246b-08a2-4c2f-b2dc-c3fd0e6b300b@stanley.mountain
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c