Message ID | 1462961049-11026-1-git-send-email-bigeasy@linutronix.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On 05/11/2016 03:04 AM, Sebastian Andrzej Siewior wrote: > 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. Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 05/11/2016 12:59 PM, Bart Van Assche wrote: > On 05/11/2016 03:04 AM, Sebastian Andrzej Siewior wrote: >> 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. > > Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Thanks, applied.
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) {
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> --- drivers/infiniband/ulp/ipoib/ipoib_ib.c | 2 -- 1 file changed, 2 deletions(-)