net: macb: Remove dead code
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Mon, 23 Sep 2019 08:33:51 +0000 (14:03 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Sep 2019 11:59:43 +0000 (13:59 +0200)
commit99dcb8432af062fffd5eb81692966a0de9ccc072
tree6c3951e750d32b04d9f9c4dc2ea52f27b1e20fbe
parentb0ce902febef24f917c33d5a5982030dac53141d
net: macb: Remove dead code

macb_64b_desc is always called when HW_DMA_CAP_64B is defined.
So the return NULL can never be reached. Remove the dead code.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c