]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: use a static Output Queue array
authorJulian Wiedmann <jwi@linux.ibm.com>
Fri, 15 Feb 2019 18:22:26 +0000 (19:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Feb 2019 04:35:29 +0000 (20:35 -0800)
commit74aa40b11c08fa38922c6d4159aad6ea8de8cda8
treed2e20fcfff44376f8ebd96c4fb0267c0dfc9d1dc
parentea2c542279d2a8e15b1d6be88fb252ee4889518e
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>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_core_main.c