diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-10-11 19:48:46 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-15 02:47:05 +0200 |
commit | d39dcd6a2d69ed32e56ae0224900ea2aa23a953d (patch) | |
tree | 76d12439921ac8826c8bc6f6390dd601eec10da4 | |
parent | RDMA/cma: Avoid triggering undefined behavior (diff) | |
download | linux-d39dcd6a2d69ed32e56ae0224900ea2aa23a953d.tar.xz linux-d39dcd6a2d69ed32e56ae0224900ea2aa23a953d.zip |
RDMA/iwcm: Remove a set-but-not-used variable
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>
-rw-r--r-- | drivers/infiniband/core/iwcm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/core/iwcm.c b/drivers/infiniband/core/iwcm.c index fcf42f6bb82a..e9e189ec7502 100644 --- 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); |