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

Commit 7de9728f authored by Muhammad Falak R Wani's avatar Muhammad Falak R Wani Committed by Greg Kroah-Hartman
Browse files

staging: rdma: ipath: Remove unneeded vairable.



Remove unneeded variable ret, directly return 0.

Signed-off-by: default avatarMuhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 853a4663
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2046,7 +2046,6 @@ static void unlock_expected_tids(struct ipath_portdata *pd)

static int ipath_close(struct inode *in, struct file *fp)
{
	int ret = 0;
	struct ipath_filedata *fd;
	struct ipath_portdata *pd;
	struct ipath_devdata *dd;
@@ -2158,7 +2157,7 @@ static int ipath_close(struct inode *in, struct file *fp)

bail:
	kfree(fd);
	return ret;
	return 0;
}

static int ipath_port_info(struct ipath_portdata *pd, u16 subport,