projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b64f5
)
RDMA/iwcm: Remove a set-but-not-used variable
author
Bart Van Assche
<bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:48:46 +0000
(10:48 -0700)
committer
Doug Ledford
<dledford@redhat.com>
Sun, 15 Oct 2017 00:47:05 +0000
(20:47 -0400)
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/iwcm.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/iwcm.c
b/drivers/infiniband/core/iwcm.c
index fcf42f6bb82a720bd2971fc030339db068e2ca8d..e9e189ec7502ca90ccdb25a58ade3bb0167ee731 100644
(file)
--- a/
drivers/infiniband/core/iwcm.c
+++ b/
drivers/infiniband/core/iwcm.c
@@
-447,9
+447,6
@@
static void destroy_cm_id(struct iw_cm_id *cm_id)
*/
void iw_destroy_cm_id(struct iw_cm_id *cm_id)
{
- struct iwcm_id_private *cm_id_priv;
-
- cm_id_priv = container_of(cm_id, struct iwcm_id_private, id);
destroy_cm_id(cm_id);
}
EXPORT_SYMBOL(iw_destroy_cm_id);