mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
wifi: rt2x00: remove weird self-assignment in rt2800_loft_search()
Remove weird self-assignment in 'rt2800_loft_search()' assuming that it was just a typo. Compile tested only. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Acked-by: Stanislaw Gruszka <stf_xl@wp.pl> Link: https://patch.msgid.link/20250321134256.821596-1-dmantipov@yandex.ru Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
b5c6891b2c
commit
ad748a7367
|
|
@ -9393,7 +9393,7 @@ static void rt2800_loft_search(struct rt2x00_dev *rt2x00dev, u8 ch_idx,
|
|||
p0, p1, pf, idx0, idx1, ibit);
|
||||
|
||||
if (bidx != 5 && pf <= p0 && pf < p1) {
|
||||
idxf[iorq] = idxf[iorq];
|
||||
/* no need to adjust idxf[] */;
|
||||
} else if (p0 < p1) {
|
||||
pf = p0;
|
||||
idxf[iorq] = idx0 & 0x3F;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user