net/i40e/base: remove unnecessary code
authorJingjing Wu <jingjing.wu@intel.com>
Sat, 10 Dec 2016 11:24:25 +0000 (19:24 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:27 +0000 (19:39 +0100)
commitdd0f6fbf5e6c4f7c087dba94cc5c8992190f2260
tree3adf18e7f79b80644c8a46286146759dea2e91d0
parentf8080847982fd74ade0fac3e0e1dabcb9d2a543f
net/i40e/base: remove unnecessary code

This patch changes some assignments and removing the unnecessary
code to avoid error reported by static analysis tools.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/base/i40e_common.c
drivers/net/i40e/base/i40e_lan_hmc.c