diff options
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, | |||
310 | struct rdma_ucm_get_event cmd; | 310 | struct rdma_ucm_get_event cmd; |
311 | struct ucma_event *uevent; | 311 | struct ucma_event *uevent; |
312 | int ret = 0; | 312 | int ret = 0; |
313 | DEFINE_WAIT(wait); | ||
314 | 313 | ||
315 | if (out_len < sizeof uevent->resp) | 314 | if (out_len < sizeof uevent->resp) |
316 | return -ENOSPC; | 315 | return -ENOSPC; |