aboutsummaryrefslogtreecommitdiff
path: root/kernel/gcov/gcc_base.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2020-10-23 14:32:36 +1100
committerJakub Kicinski <[email protected]>2020-10-23 18:44:06 -0700
commitdab234227cbdc6a088c6f9bce38b5dcfefe90832 (patch)
tree36f26f537d7f28745eacad05c669877055d60963 /kernel/gcov/gcc_base.c
parent0c3b7f4b812f708795fb5cc397432527421edc1b (diff)
net: ucc_geth: Drop extraneous parentheses in comparison
Clang warns about the extra parentheses in this comparison: drivers/net/ethernet/freescale/ucc_geth.c:1361:28: warning: equality comparison with extraneous parentheses if ((ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ It seems clear the intent here is to do a comparison not an assignment, so drop the extra parentheses to avoid any confusion. Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions