diff options
author | Dotan Barak <dotanb@dev.mellanox.co.il> | 2012-08-23 14:09:02 +0000 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-09-30 20:31:46 -0700 |
commit | d8c9166961437263b8dd97ff8341c3335d894740 (patch) | |
tree | 7795c6a5ab57bc49695ed2f4b7611f1b1c894361 /drivers/infiniband/core/ucma.c | |
parent | 979570e02981d4a8fc20b3cc8fd651856c98ee9d (diff) |
IB/core: Remove unused variables in ucm/ucma
Remove unused wait objects from ucm/ucma events flow.
Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/core/ucma.c')
-rw-r--r-- | drivers/infiniband/core/ucma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/ucma.c b/drivers/infiniband/core/ucma.c index 055ed59838dc..7972bae2e9b3 100644 --- a/drivers/infiniband/core/ucma.c +++ b/drivers/infiniband/core/ucma.c @@ -310,7 +310,6 @@ static ssize_t ucma_get_event(struct ucma_file *file, const char __user *inbuf, struct rdma_ucm_get_event cmd; struct ucma_event *uevent; int ret = 0; - DEFINE_WAIT(wait); if (out_len < sizeof uevent->resp) return -ENOSPC; |