* [PATCH] infiniband/ulp/ipoib: remove pkey_mutex
@ 2016-05-11 10:04 Sebastian Andrzej Siewior
[not found] ` <1462961049-11026-1-git-send-email-bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2016-05-11 10:04 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Cc: Doug Ledford, Sean Hefty, Hal Rosenstock,
tglx-hfZtesqFncYOwBW4kG4KsQ, Sebastian Andrzej Siewior
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-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
---
drivers/infiniband/ulp/ipoib/ipoib_ib.c | 2 --
1 file changed, 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)
{
--
2.8.1
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] infiniband/ulp/ipoib: remove pkey_mutex
[not found] ` <1462961049-11026-1-git-send-email-bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
@ 2016-05-11 16:59 ` Bart Van Assche
[not found] ` <57336505.6070801-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Bart Van Assche @ 2016-05-11 16:59 UTC (permalink / raw)
To: Sebastian Andrzej Siewior, linux-rdma-u79uwXL29TY76Z2rM5mHXA
Cc: Doug Ledford, Sean Hefty, Hal Rosenstock,
tglx-hfZtesqFncYOwBW4kG4KsQ
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-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] infiniband/ulp/ipoib: remove pkey_mutex
[not found] ` <57336505.6070801-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
@ 2016-05-12 18:57 ` Doug Ledford
0 siblings, 0 replies; 3+ messages in thread
From: Doug Ledford @ 2016-05-12 18:57 UTC (permalink / raw)
To: Bart Van Assche, Sebastian Andrzej Siewior,
linux-rdma-u79uwXL29TY76Z2rM5mHXA
Cc: Sean Hefty, Hal Rosenstock, tglx-hfZtesqFncYOwBW4kG4KsQ
[-- Attachment #1: Type: text/plain, Size: 518 bytes --]
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-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
Thanks, applied.
--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG KeyID: 0E572FDD
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-12 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11 10:04 [PATCH] infiniband/ulp/ipoib: remove pkey_mutex Sebastian Andrzej Siewior
[not found] ` <1462961049-11026-1-git-send-email-bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2016-05-11 16:59 ` Bart Van Assche
[not found] ` <57336505.6070801-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-05-12 18:57 ` Doug Ledford
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.