diff options
| author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-04-25 18:25:58 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-04-26 11:14:06 -0400 |
| commit | 7b579ce57ecf73856a26173b04ab6053798c8e2a (patch) | |
| tree | 1349ed62b55f4f6cdcba24a287df0ca63f29e1be /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | s390/qeth: use IS_* helpers for checking device type (diff) | |
| download | linux-7b579ce57ecf73856a26173b04ab6053798c8e2a.tar.gz linux-7b579ce57ecf73856a26173b04ab6053798c8e2a.zip | |
s390/qeth: don't clear Output buffers on every queue init
On the first initialization of a queue, its Output Buffers are in a
clean state with no attached resources. On every subsequent
initialization, qeth_l?_stop_card() has previously put them in a clean
state via qeth_drain_output_queues(). So the call to
qeth_clear_output_buffer() is redundant and can be removed.
While at it, move the initialization of the queue's card pointer into
the queue allocation. It never changes afterwards.
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
