i40e: Avoid some useless variables and initializers in NVM functions
authorStefano Brivio <[email protected]>
Wed, 6 Sep 2017 08:11:39 +0000 (10:11 +0200)
committerJeff Kirsher <[email protected]>
Mon, 9 Oct 2017 21:42:17 +0000 (14:42 -0700)
commit2c4d36b7087538704fc9e3464d185dcc4d04e863
tree5ddfb2d940428139f208cf832c86587639413e6e
parent3d7d7a86ec6ea5abaea30194eeb175e2a3d0bdc7
i40e: Avoid some useless variables and initializers in NVM functions

Fixes: 09f79fd49d94 ("i40e: avoid NVM acquire deadlock during NVM update")
Signed-off-by: Stefano Brivio <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/i40e/i40e_nvm.c