mbox series

[0/2] Kill some dead code in the Renesas Ethernet drivers

Message ID 20220128203838.17423-1-s.shtylyov@omp.ru (mailing list archive)
Headers show
Series Kill some dead code in the Renesas Ethernet drivers | expand

Message

Sergey Shtylyov Jan. 28, 2022, 8:38 p.m. UTC
Here are 2 patches against DaveM's 'net-next.git' repo. The Renesas drivers
call their ndo_stop() methods directly and they always return 0, making the
result checks pointless, hence remove them...

Sergey Shtylyov (2):
  ravb: ravb_close() always returns 0
  sh_eth: sh_eth_close() always returns 0

 drivers/net/ethernet/renesas/ravb_main.c | 4 +---
 drivers/net/ethernet/renesas/sh_eth.c    | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)