commit | ed17f7e5d7918adb487debe49fadf57fd2b98d1c | [log] [tgz] |
---|---|---|
author | Jean Sacren <sakiwit@gmail.com> | Tue Oct 13 01:06:30 2015 -0600 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Oct 23 05:37:00 2015 -0700 |
tree | 587907647808b525a50e4267a266ca7610f496c5 | |
parent | 554f4544afa541b25882cd0ca5fd6b01b4e2ce07 [diff] |
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>