Re: [PATCH] qlge: fix duplicated code for different branches

2017-08-14 Thread David Miller
From: "Gustavo A. R. Silva" Date: Sat, 12 Aug 2017 20:58:40 -0500 > Refactor code in order to avoid identical code for different branches. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Applied.

[PATCH] qlge: fix duplicated code for different branches

2017-08-12 Thread Gustavo A. R. Silva
Refactor code in order to avoid identical code for different branches. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- This code was tested by compilation only. drivers/net/ethernet/qlogic/qlge/qlge_dbg.c | 47