diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-09-17 17:36:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-17 09:10:25 -0700 |
commit | ed47155bdcf38ff5a0f419b7a833dcbe49cb8abc (patch) | |
tree | 5cbd7b3e60c1801fabf904f5f82176c9d8d2e4f7 /drivers/s390/net/qeth_core.h | |
parent | 31c92732cdf22fc5ac6807be34fddec1ca9b30ac (diff) |
s390/qeth: fine-tune spinlocks
For quite a lot of code paths it's obvious that they will never run in
IRQ context. So replace their spin_lock_irqsave() calls with
spin_lock_irq().
While at it, get rid of the redundant card pointer in struct qeth_reply
that was used by qeth_send_control_data() to access the card's lock.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index be213b5c2552..0dbe81f958f0 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -639,7 +639,6 @@ struct qeth_reply { atomic_t received; int rc; void *param; - struct qeth_card *card; refcount_t refcnt; }; |