diff options
author | Jean Sacren <[email protected]> | 2015-10-13 01:06:30 -0600 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2015-10-23 05:37:00 -0700 |
commit | ed17f7e5d7918adb487debe49fadf57fd2b98d1c (patch) | |
tree | 587907647808b525a50e4267a266ca7610f496c5 /scripts/gdb/linux | |
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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions