Re: [PATCH] qlge: remove duplicated assignment to mbcp

2017-11-11 Thread David Miller
From: Colin King Date: Thu, 9 Nov 2017 07:52:15 + > From: Colin Ian King > > The assignment to mbcp is identical to the initiatialized value assigned > to mbcp at declaration time a few lines earlier, hence we can remove the > second redundant assignment. Cleans up clang warning: > > dri

[PATCH] qlge: remove duplicated assignment to mbcp

2017-11-08 Thread Colin King
From: Colin Ian King The assignment to mbcp is identical to the initiatialized value assigned to mbcp at declaration time a few lines earlier, hence we can remove the second redundant assignment. Cleans up clang warning: drivers/net/ethernet/qlogic/qlge/qlge_mpi.c:209:22: warning: Value stored