diff options
author | Jean Sacren <sakiwit@gmail.com> | 2015-10-13 01:06:30 -0600 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-10-23 05:37:00 -0700 |
commit | ed17f7e5d7918adb487debe49fadf57fd2b98d1c (patch) | |
tree | 587907647808b525a50e4267a266ca7610f496c5 /drivers/net/ethernet/intel/i40e/i40e_nvm.c | |
parent | 554f4544afa541b25882cd0ca5fd6b01b4e2ce07 (diff) | |
download | blackbird-op-linux-ed17f7e5d7918adb487debe49fadf57fd2b98d1c.tar.gz blackbird-op-linux-ed17f7e5d7918adb487debe49fadf57fd2b98d1c.zip |
i40evf: clean up local variable initialization
In i40evf_msix_aq(), the first two lines of rd32() are mainly to clear
the registers. If we initialize 'val' at this point, it will be
overwritten immediately. We shall simply discard the return value here.
When we initialize 'val', we might as well include the mask in one step.
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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_nvm.c')
0 files changed, 0 insertions, 0 deletions