]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
IB/core: Remove unused variables in ucm/ucma
authorDotan Barak <dotanb@dev.mellanox.co.il>
Thu, 23 Aug 2012 14:09:02 +0000 (14:09 +0000)
committerRoland Dreier <roland@purestorage.com>
Tue, 18 Sep 2012 17:57:21 +0000 (10:57 -0700)
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>
drivers/infiniband/core/ucm.c
drivers/infiniband/core/ucma.c

index 06f08713f487c8b3aec1f4bfe85f9dc744b1f2c7..49b15ac1987e0ba1537afbe478fd1b189f96fd66 100644 (file)
@@ -397,7 +397,6 @@ static ssize_t ib_ucm_event(struct ib_ucm_file *file,
        struct ib_ucm_event_get cmd;
        struct ib_ucm_event *uevent;
        int result = 0;
-       DEFINE_WAIT(wait);
 
        if (out_len < sizeof(struct ib_ucm_event_resp))
                return -ENOSPC;
index 055ed59838dca128eef4986a9b3186a1f0588b84..7972bae2e9b3da9584caf20c2268f02bb00e53b8 100644 (file)
@@ -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;