summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-03-25 12:34:59 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-25 22:07:15 +0300
commitb439044b70e4b7992f82974eb77d92c95da5960f (patch)
tree3e47f63227090c87c2e2c80828030a61d8dd005c /tools/perf/scripts/python/export-to-postgresql.py
parent781b9a1820a1533135811bf281fefe0fc6920006 (diff)
downloadlinux-b439044b70e4b7992f82974eb77d92c95da5960f.tar.xz
s390/qeth: remove redundant if-clause in RX poll code
Whenever all completed RX buffers have been processed (ie. rx->b_count == 0), we call down to the HW layer to scan for additional buffers. If no further buffers are available, the code breaks out of the while-loop. So we never reach the 'process an RX buffer' step with rx->b_count == 0, eliminate that check and one level of indentation. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.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