summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPetri Gynther <pgynther@google.com>2016-04-05 23:59:59 +0300
committerDavid S. Miller <davem@davemloft.net>2016-04-06 02:33:51 +0300
commitf5a9ec20b3b2adf03a0b01902cda913b05abd382 (patch)
tree88f37125dd2f84678b3d40944b54df7a095fec8e /tools/perf/scripts/python/export-to-postgresql.py
parent66f87790361c2c33dd7948a618da0cb632eed20d (diff)
downloadlinux-f5a9ec20b3b2adf03a0b01902cda913b05abd382.tar.xz
net: bcmgenet: cleanup for bcmgenet_xmit()
1. Readability: Move nr_frags assignment a few lines down in order to bundle index -> ring -> txq calculations together. 2. Readability: Add parentheses around nr_frags + 1. 3. Minor fix: Stop the Tx queue and throw the error message only if the Tx queue hasn't already been stopped. Signed-off-by: Petri Gynther <pgynther@google.com> Acked-by: Florian Fainelli <f.fainelli@gmail.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