summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-01 14:44:31 +0100
committerDavid S. Miller <davem@davemloft.net>2017-09-01 10:33:55 -0700
commitf6849d01bdc0830c5f4aaba11785827e20d3bad5 (patch)
treeaae18b94c6678d7ef42f471da674d0046ae4785e /tools/perf/scripts/python/export-to-postgresql.py
parentabd21a873a4aa13119a4eb1d46b99790d7cf7835 (diff)
qlcnic: remove redundant zero check on retries counter
At the end of the do while loop the integer counter retries will always be zero and so the subsequent check to see if it is zero is always true and therefore redundant. Remove the redundant check and always return -EIO on this return path. Also unbreak the literal string in dev_err message to clean up a checkpatch warning. Detected by CoverityScan, CID#744279 ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions