s390/qeth: unify the tracking of active cmds on ccw device
authorJulian Wiedmann <jwi@linux.ibm.com>
Fri, 11 Jun 2021 07:33:35 +0000 (09:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 19:49:15 +0000 (12:49 -0700)
commit3518ae76f2bbc465f7a0d7075fe71815e37b21c6
treeda958eae61eacc14968c24ff077d36bb5f437a6a
parent7a4b92e8e0de9cbbb623310af76b1d60cd344b1d
s390/qeth: unify the tracking of active cmds on ccw device

We have one field to track _whether_ a cmd is active on a ccw device
('irq_pending'), and one to track _which_ cmd it is ('active_cmd').

Get rid of the irq_pending field, by testing active_cmd for NULL.

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