]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: summarize two if statements
authorMartin Kaiser <martin@kaiser.cx>
Wed, 13 Apr 2022 19:36:50 +0000 (21:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Apr 2022 07:06:59 +0000 (09:06 +0200)
commit2f74807e13fd5fc18d0497c171ac6b52e1255eed
treeb25cd95e6094e00cf55a763f23a1b3b7dab263ed
parentbebe149acbdcb9b78166059f5a2079b25e6a42a5
staging: r8188eu: summarize two if statements

Summarize two if statements in rtw_pwr_wakeup and place the constants
on the right side of the comparison.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220413193654.258507-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_pwrctrl.c