linux/drivers/net/ethernet/renesas
Sergei Shtylyov 4282fc47c0 sh_eth: kill redundant check in the probe() method
Browsing thru the driver disassembly, I noticed that gcc was  able to
figure  out  that the 'ndev' pointer is always non-NULL when calling
free_netdev()  on the probe() method's  error path and  thus skip that
redundant NULL check... gcc is smart, be like gcc! :-)

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-03 10:21:35 -05:00
..
Kconfig
Makefile
ravb_main.c ravb: kill redundant check in the probe() method 2018-01-03 10:21:35 -05:00
ravb_ptp.c
ravb.h ravb: add wake-on-lan support via magic packet 2017-08-01 17:54:38 -07:00
sh_eth.c sh_eth: kill redundant check in the probe() method 2018-01-03 10:21:35 -05:00
sh_eth.h sh_eth: add missing EESIPR bits 2017-01-30 22:05:43 -05:00