Colin Ian King 080aaddae5 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>
2018-04-24 16:00:37 -04:00
..
2018-02-27 11:40:03 -05:00
2017-08-28 16:41:00 -07:00
2017-08-28 16:41:00 -07:00
2016-10-04 10:08:44 +03:00
2018-02-27 11:40:03 -05:00
2018-02-27 11:40:03 -05:00
2017-08-28 16:41:00 -07:00
2015-12-27 20:51:40 -05:00
2018-02-27 11:40:03 -05:00
2018-02-27 11:40:03 -05:00
2017-08-28 16:41:00 -07:00
2018-02-27 11:40:03 -05:00