]> git.baikalelectronics.ru Git - kernel.git/commit
fsl/fman: fix unreachable code
authorFlorinel Iordache <florinel.iordache@nxp.com>
Mon, 3 Aug 2020 07:07:32 +0000 (10:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2020 23:20:14 +0000 (16:20 -0700)
commit2bd69e8567116c0d02fb019bdc976f4d382bcc26
tree09c9cf27ab586304df0b21bd8d4e9892c038f984
parentf2aeb6a3539f48c6da1921bc42fcdf3e6e091cc6
fsl/fman: fix unreachable code

The parameter 'priority' is incorrectly forced to zero which ultimately
induces logically dead code in the subsequent lines.

Fixes: 458982aa3cd0 ("fsl/fman: Add FMan MAC support")
Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/fman_memac.c