s390/qeth: handle failure on workqueue creation
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 19 Apr 2018 10:52:08 +0000 (12:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Apr 2018 18:42:31 +0000 (14:42 -0400)
commita936b1ef37ce1e996533878f4b23944f9444dcdf
tree4ce573f7a3b5e42da9b3f054df06530bfe6463c1
parent901e3f49facbd31b2b3d1786637b4a35e1022e9b
s390/qeth: handle failure on workqueue creation

Creating the global workqueue during driver init may fail, deal with it.
Also, destroy the created workqueue on any subsequent error.

Fixes: 0f54761d167f ("qeth: Support VEPA mode")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c