summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/cpsw.c
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-02-02 18:02:37 +0800
committerJakub Kicinski <kuba@kernel.org>2021-02-06 10:37:37 -0800
commitb91b3a211542bcd69532a8004452d83f499d23cd (patch)
tree5d8064685903fa663fc36157124d2b73df2e35b9 /drivers/net/ethernet/ti/cpsw.c
parentc90597bdebb5ff8d410edd8c556a6b5195503ca5 (diff)
dpaa2-eth: Simplify the calculation of variables
Fix the following coccicheck warnings: ./drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:1651:36-38: WARNING !A || A && B is equivalent to !A || B. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Acked-by: Ioana Ciornei <ioana.ciornei@nxp.com> Link: https://lore.kernel.org/r/1612260157-128026-1-git-send-email-jiapeng.chong@linux.alibaba.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.c')
0 files changed, 0 insertions, 0 deletions