]> 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)
commitc489ca105772f5ff50d2b29b4584d3a19f3755d6
treed2e20fcfff44376f8ebd96c4fb0267c0dfc9d1dc
parent13c26b77e3588bf98c17e33d8e09f58dbb9f77db
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