Re: [RFC PATCH] net: macb: Remove dead code

2019-09-25 Thread David Miller
From: Shubhrajyoti Datta Date: Mon, 23 Sep 2019 13:49:42 +0530 > 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 Applied.

[RFC PATCH] net: macb: Remove dead code

2019-09-23 Thread Shubhrajyoti Datta
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 --- drivers/net/ethernet/cadence/macb_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethern