diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-04-24 12:39:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-24 16:00:37 -0400 |
commit | 080aaddae5b378ebb0f06d297bf05cf4ec5b47ac (patch) | |
tree | aef5d6fe657e125ce86d6ea2b9b53f994c06febf /tools/scripts | |
parent | c7d852e301d834949e570920db808201bdc51a22 (diff) |
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 'tools/scripts')
0 files changed, 0 insertions, 0 deletions