net/i40e/base: clean up
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 9 Jan 2018 20:30:10 +0000 (15:30 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit55e2183ea2d040f0455ddfe68f6563ce4794b8c3
treef1d764955b22e06c3eb4628e3df37721e56c685e
parent4b3b515901b927985e04d4d96a2a804f18e04a16
net/i40e/base: clean up

1. Cleanup logical in __i40e_read_nvm_word and reuse it in
i40e_read_nvm_word.
2. Change couple functions to static so we can remove uncessary function
declarations
3. Cleanup logical in i40e_validate_nvm_checksum.
4. Add more debug information in PF reset
5. correct comments
6. Minor code style fix.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/base/i40e_adminq.c
drivers/net/i40e/base/i40e_adminq.h
drivers/net/i40e/base/i40e_common.c
drivers/net/i40e/base/i40e_hmc.c
drivers/net/i40e/base/i40e_nvm.c
drivers/net/i40e/base/virtchnl.h