OSDN Git Service

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)
commitbb92d3f8667f674ae6b2150406f19b33d5ad5f85
treed2e20fcfff44376f8ebd96c4fb0267c0dfc9d1dc
parent0aa35a368933873dbab2d2ab54e5d05d3b089245
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