diff options
author | Jiapeng Zhong <[email protected]> | 2021-01-26 16:13:03 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-27 17:35:48 -0800 |
commit | 1d96006dccf0994dd91f327f59493afd6398b01d (patch) | |
tree | ed70e6128f14cf198dccabcb522cb65ec9b1e9d4 /net/tipc/msg.c | |
parent | 864e898ba3f6a7974d35efb604a1345d50e45f91 (diff) |
rocker: Simplify the calculation of variables
Fix the following coccicheck warnings:
./drivers/net/ethernet/rocker/rocker_ofdpa.c:926:34-36: WARNING !A || A
&& B is equivalent to !A || B.
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Zhong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/msg.c')
0 files changed, 0 insertions, 0 deletions