linux_dsm_epyc7002/drivers/net/ethernet/freescale/fman
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
..
fman_dtsec.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
fman_dtsec.h dpaa_eth: Add allmulti option 2018-02-27 11:40:03 -05:00
fman_keygen.c fsl/fman: enable FMan Keygen 2017-08-28 16:41:00 -07:00
fman_keygen.h fsl/fman: enable FMan Keygen 2017-08-28 16:41:00 -07:00
fman_mac.h fsl/fman: remove leftover comment 2016-10-04 10:08:44 +03:00
fman_memac.c dpaa_eth: Add allmulti option 2018-02-27 11:40:03 -05:00
fman_memac.h dpaa_eth: Add allmulti option 2018-02-27 11:40:03 -05:00
fman_muram.c fsl/fman: split lines over 80 characters 2016-10-04 09:26:05 +03:00
fman_muram.h fsl/fman: split lines over 80 characters 2016-10-04 09:26:05 +03:00
fman_port.c fsl/fman_port: remove redundant check on port->rev_info.major 2018-04-24 16:00:37 -04:00
fman_port.h dpaa_eth: add NETIF_F_RXHASH 2017-08-28 16:41:00 -07:00
fman_sp.c fsl/fman: fix loadable module compilation 2016-10-04 09:26:05 +03:00
fman_sp.h fsl/fman: Add FMan SP support 2015-12-27 20:51:40 -05:00
fman_tgec.c dpaa_eth: Add allmulti option 2018-02-27 11:40:03 -05:00
fman_tgec.h dpaa_eth: Add allmulti option 2018-02-27 11:40:03 -05:00
fman.c fsl/fman: make arrays port_ids static, reduces object code size 2017-09-01 18:21:09 -07:00
fman.h fsl/fman: enable FMan Keygen 2017-08-28 16:41:00 -07:00
Kconfig fsl/fman: remove unnecessary set_dma_ops() call and HAS_DMA dependency 2018-03-26 11:30:06 -04:00
mac.c fsl/fman: remove unnecessary set_dma_ops() call and HAS_DMA dependency 2018-03-26 11:30:06 -04:00
mac.h dpaa_eth: Add allmulti option 2018-02-27 11:40:03 -05:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-04 09:26:51 +09:00