diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-05-11 12:04:09 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-05-13 19:39:43 -0400 |
commit | 01690e9c70c0b42072d6c82470d78b747fcc5c70 (patch) | |
tree | 4b2f71cb6633ac502c4d7a6e5e68a8dd25f6aefe /drivers/infiniband/ulp | |
parent | 321aebb880d2bfdf9cff503f57207e930aee6b1d (diff) | |
download | linux-01690e9c70c0b42072d6c82470d78b747fcc5c70.tar.bz2 |
infiniband/ulp/ipoib: remove pkey_mutex
The last user of pkey_mutex was removed in db84f8803759 ("IB/ipoib: Use
P_Key change event instead of P_Key polling mechanism") but the lock
remained.
This patch removes it.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_ib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ib.c b/drivers/infiniband/ulp/ipoib/ipoib_ib.c index f0e55e47eb54..da5f28c892ca 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_ib.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_ib.c @@ -51,8 +51,6 @@ MODULE_PARM_DESC(data_debug_level, "Enable data path debug tracing if > 0"); #endif -static DEFINE_MUTEX(pkey_mutex); - struct ipoib_ah *ipoib_create_ah(struct net_device *dev, struct ib_pd *pd, struct ib_ah_attr *attr) { |