diff options
author | Brett Creeley <[email protected]> | 2019-02-08 12:50:51 -0800 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-03-19 16:51:08 -0700 |
commit | 16c3301b55668fe8b163cad5c6b4d064bfa7c6fc (patch) | |
tree | 614da67949a59fa8a923660ba673a0c254fb6e77 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 77ed84f49aeed11d72a3559e35d624706e364940 (diff) |
ice: remove redundant variable and if condition
In ice_pf_rxq_wait we are using an unnecessary local variable and also
we are checking if the timeout time was reached after the loop. Get rid
of the local variable and return 0 right when we get a successful
result. This makes it so we can return -ETIMEDOUT if we ever exit the
loop because we know the timeout time has been hit.
Signed-off-by: Brett Creeley <[email protected]>
Signed-off-by: Anirudh Venkataramanan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions