diff options
author | 2015-01-23 16:44:45 -0600 | |
---|---|---|
committer | 2015-02-02 09:57:43 -0800 | |
commit | ec5cbf0422500ada7682a95e5c379dd13dd3a74c (patch) | |
tree | 9c9473e060c623fe96c8a13781108490e285c7be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hpsa: do not use function pointers in fast path command submission (diff) | |
download | wireguard-linux-ec5cbf0422500ada7682a95e5c379dd13dd3a74c.tar.xz wireguard-linux-ec5cbf0422500ada7682a95e5c379dd13dd3a74c.zip |
hpsa: move SG descriptor set-up out of hpsa_scatter_gather()
Move the code which sets up the SG descriptor out of hpsa_scatter_gather()
and into a subroutine where it can be reused (in the next patch). The Ext
field is now assigned unconditionally: this makes the refactor much simpler,
but more importantly it removes a conditional operation from inside the
loop. The case for which the conditional formerly tested is now executed
(unconditionally) after the loop is exited.
Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Webb Scales <webbnh@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions