Re: [PATCHv1] net: macb: Remove dead code

2019-09-23 Thread Claudiu.Beznea
On 23.09.2019 11:33, shubhrajyoti.da...@gmail.com wrote: > From: 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 Reviewed-by: Claudiu Beznea > --- >

[PATCHv1] net: macb: Remove dead code

2019-09-23 Thread shubhrajyoti . datta
From: 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