commit | 0e5229c6c576969bf8f89f8ca74fa7ea355b434e | [log] [tgz] |
---|---|---|
author | Jean Sacren <sakiwit@gmail.com> | Tue Oct 13 01:06:31 2015 -0600 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Oct 23 05:37:31 2015 -0700 |
tree | a282bd7e0a7660eaf5dba6982e82f5e4835186b3 | |
parent | ed17f7e5d7918adb487debe49fadf57fd2b98d1c [diff] |
i40e: clean up local variable initialization In both i40e_calc_nvm_checksum() and i40e_update_nvm_checksum(), the local variables designated by 'ret_code' are overwritten immediately. As such, they should merely be declared. Signed-off-by: Jean Sacren <sakiwit@gmail.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>