]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: fix warnings in rtw_p2p
authorVihas Makwana <makvihas@gmail.com>
Tue, 17 May 2022 14:06:24 +0000 (19:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:44:43 +0000 (17:44 +0200)
commit05ca436a3de9607e19fbbe5ad7e5dba5b383be71
tree6fbc362ee1c09fc3a53ff5abdb621d2d96191672
parentd9339c9c50825b6ba776f3c1518845f46aeebc86
staging: r8188eu: fix warnings in rtw_p2p

Refactor the code to fix following warning:
    WARNING: Comparisons should place the constant on the right side of the test

Signed-off-by: Vihas Makwana <makvihas@gmail.com>
Link: https://lore.kernel.org/r/20220517140626.3716-2-makvihas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_p2p.c