]> 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)
commitd4bea0b68f6a523913eda550e5355c198eaed0ac
tree66c5eb54f11c4d41c5da76a36c90757d6143e1bf
parentdb05a2e021191c08f161195d45be85e2f3fe5e80
net: macb: remove unnecessary code

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

Fixes: af5d7e7c9a45 ("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