diff options
author | 2018-04-24 12:39:45 +0100 | |
---|---|---|
committer | 2018-04-24 16:00:37 -0400 | |
commit | 080aaddae5b378ebb0f06d297bf05cf4ec5b47ac (patch) | |
tree | aef5d6fe657e125ce86d6ea2b9b53f994c06febf /net/tipc | |
parent | qed: Fix copying 2 strings (diff) | |
download | linux-rng-080aaddae5b378ebb0f06d297bf05cf4ec5b47ac.tar.xz linux-rng-080aaddae5b378ebb0f06d297bf05cf4ec5b47ac.zip |
fsl/fman_port: remove redundant check on port->rev_info.major
The check port->rev_info.major >= 6 is being performed twice, thus
the inner second check is always true and is redundant, hence it
can be removed. Detected by cppcheck.
drivers/net/ethernet/freescale/fman/fman_port.c:1394]: (warning)
Identical inner 'if' condition is always true.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions