aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-09-17 17:36:08 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-17 09:10:25 -0700
commited47155bdcf38ff5a0f419b7a833dcbe49cb8abc (patch)
tree5cbd7b3e60c1801fabf904f5f82176c9d8d2e4f7 /drivers/s390/net/qeth_core.h
parents390/qeth: fix typo in return value (diff)
downloadlinux-dev-ed47155bdcf38ff5a0f419b7a833dcbe49cb8abc.tar.xz
linux-dev-ed47155bdcf38ff5a0f419b7a833dcbe49cb8abc.zip
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.h1
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;
};