mirror of https://github.com/torvalds/linux.git
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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| fman.c | ||
| fman.h | ||
| fman_dtsec.c | ||
| fman_dtsec.h | ||
| fman_keygen.c | ||
| fman_keygen.h | ||
| fman_mac.h | ||
| fman_memac.c | ||
| fman_memac.h | ||
| fman_muram.c | ||
| fman_muram.h | ||
| fman_port.c | ||
| fman_port.h | ||
| fman_sp.c | ||
| fman_sp.h | ||
| fman_tgec.c | ||
| fman_tgec.h | ||
| mac.c | ||
| mac.h | ||