Re: [PATCH] net: hns3: remove a couple of redundant assignments

2017-11-01 Thread David Miller
From: Colin King Date: Wed, 1 Nov 2017 10:17:15 + > From: Colin Ian King > > The assignment to kinfo is redundant as this is a duplicate of > the initialiation of kinfo a few lines earlier, so it can be > removed. The assignment to v_tc_info is never read, so this > variable is redundant

[PATCH] net: hns3: remove a couple of redundant assignments

2017-11-01 Thread Colin King
From: Colin Ian King The assignment to kinfo is redundant as this is a duplicate of the initialiation of kinfo a few lines earlier, so it can be removed. The assignment to v_tc_info is never read, so this variable is redundant and can be removed completely. Cleans up two clang warnings: drivers