diff options
author | Julian Wiedmann | 2019-02-15 19:22:26 +0100 |
---|---|---|
committer | David S. Miller | 2019-02-16 05:35:29 +0100 |
commit | bb92d3f8667f674ae6b2150406f19b33d5ad5f85 (patch) | |
tree | d2e20fcfff44376f8ebd96c4fb0267c0dfc9d1dc /drivers/s390/net/qeth_core.h | |
parent | s390/qeth: allow manual recovery when device is SOFTSETUP (diff) | |
download | kernel-qcow2-linux-bb92d3f8667f674ae6b2150406f19b33d5ad5f85.tar.gz kernel-qcow2-linux-bb92d3f8667f674ae6b2150406f19b33d5ad5f85.tar.xz kernel-qcow2-linux-bb92d3f8667f674ae6b2150406f19b33d5ad5f85.zip |
s390/qeth: use a static Output Queue array
qeth dynamically allocates an array for storing pointers to its
Output Queue structures. Switch this to a static array - we are
currently limited to 4 Output Queues, so shrinking the qeth_qdio_info
struct by just a few bytes doesn't justify the additional complexity.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 18696ffb662d..2ea5d7c0b94c 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -528,7 +528,7 @@ struct qeth_qdio_info { /* output */ int no_out_queues; - struct qeth_qdio_out_q **out_qs; + struct qeth_qdio_out_q *out_qs[QETH_MAX_QUEUES]; struct qdio_outbuf_state *out_bufstates; /* priority queueing */ |