[PATCH] net: ethernet: broadcom: bnxt: remove dead code

2017-05-15 Thread Gustavo A. R. Silva
Local variable _sh_ is assigned to a constant value and it is never updated again. Remove this variable and the dead code it guards. Addresses-Coverity-ID: 1350916 Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 9 +++-- 1 file changed, 3 insertions(+), 6 d

Re: [PATCH] net: ethernet: broadcom: bnxt: remove dead code

2017-05-15 Thread Michael Chan
On Mon, May 15, 2017 at 3:28 PM, Gustavo A. R. Silva wrote: > Local variable _sh_ is assigned to a constant value and it is never updated > again. Remove this variable and the dead code it guards. > > Addresses-Coverity-ID: 1350916 > Signed-off-by: Gustavo A. R. Silva > --- > drivers/net/etherne

Re: [PATCH] net: ethernet: broadcom: bnxt: remove dead code

2017-05-16 Thread Gustavo A. R. Silva
Hi Michael, Quoting Michael Chan : On Mon, May 15, 2017 at 3:28 PM, Gustavo A. R. Silva wrote: Local variable _sh_ is assigned to a constant value and it is never updated again. Remove this variable and the dead code it guards. Addresses-Coverity-ID: 1350916 Signed-off-by: Gustavo A. R. Silv