Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8c91669 authored by Dotan Barak's avatar Dotan Barak Committed by Roland Dreier
Browse files

IB/core: Remove unused variables in ucm/ucma



Remove unused wait objects from ucm/ucma events flow.

Signed-off-by: default avatarDotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Acked-by: default avatarSean Hefty <sean.hefty@intel.com>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 979570e0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
+0 −1
Original line number Diff line number Diff line
@@ -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;