diff options
author | 2021-01-26 16:13:03 +0800 | |
---|---|---|
committer | 2021-01-27 17:35:48 -0800 | |
commit | 1d96006dccf0994dd91f327f59493afd6398b01d (patch) | |
tree | ed70e6128f14cf198dccabcb522cb65ec9b1e9d4 /net/tipc | |
parent | net: remove redundant 'depends on NET' (diff) | |
download | linux-rng-1d96006dccf0994dd91f327f59493afd6398b01d.tar.xz linux-rng-1d96006dccf0994dd91f327f59493afd6398b01d.zip |
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 <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Link: https://lore.kernel.org/r/1611648783-3916-1-git-send-email-abaci-bugfix@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions