]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: remove unnecessary code
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 3 Jan 2019 14:59:35 +0000 (14:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jan 2019 20:59:09 +0000 (12:59 -0800)
commit2b2f9b01aeec095b3b3ad6b77d915f68fa5153c4
tree66c5eb54f11c4d41c5da76a36c90757d6143e1bf
parent24a95043832894ee4be2c770ffb94086edffc54d
net: macb: remove unnecessary code

Commit 586890dec21b ("net: macb: add support for padding and fcs
computation") introduced a bug fixed by commit 9f7d61e74f9c ("net:
ethernet: cadence: fix socket buffer corruption problem"). Code removed
in this patch is not reachable at all so remove it.

Fixes: 586890dec21b ("net: macb: add support for padding and fcs computation")
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c