aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorFabio M. De Francesco <[email protected]>2021-08-13 18:08:12 +0200
committerGreg Kroah-Hartman <[email protected]>2021-08-16 09:08:34 +0200
commitb38447035aedef5861732dcbf048a0c226073768 (patch)
treef4f6440f9d0eee9928ba36b24756dfddbe87dc59 /include/linux/debugobjects.h
parent40ba17da86cb9ed6ec1457bd05db77df94d09c96 (diff)
staging: r8188eu: Remove variables and simplify PHY_SwChnl8188E()
Remove "bResult" and "tmpchannel" and all tests and assignments that are related to them in the code of PHY_SwChnl8188E(). "bResult" was always true, therefore its test led to a null statement. "tmpchannel" was used only to restore "pHalData->CurrentChannel" to its previous value only if _PHY_SwChnl8192C() was not called; therefore assign "channel" to "pHalData->CurrentChannel" if and only if _PHY_SwChnl8192C() is to be executed (and get rid of that temporary storage). Acked-by: Phillip Potter <[email protected]> Signed-off-by: Fabio M. De Francesco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions