Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1254342 > unrolled thread

[PATCH] Staging: lustre: lnet :socklnd return statement in void function not useful

Started byNilesh Kokane <nilesh.kokane05@gmail.com>
First post2015-10-23 07:40 +0200
Last post2015-10-23 07:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] Staging: lustre: lnet :socklnd return statement in void function not useful Nilesh Kokane <nilesh.kokane05@gmail.com> - 2015-10-23 07:40 +0200

#1254342 — [PATCH] Staging: lustre: lnet :socklnd return statement in void function not useful

FromNilesh Kokane <nilesh.kokane05@gmail.com>
Date2015-10-23 07:40 +0200
Subject[PATCH] Staging: lustre: lnet :socklnd return statement in void function not useful
Message-ID<qmDf5-pc-35@gated-at.bofh.it>
Return function in void function is not needed.

Signed-off-by: Nilesh Kokane <Nilesh.Kokane05@gmail.com>
---
 drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c
index 4128a92..2b08e28 100644
--- a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c
+++ b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c
@@ -1838,7 +1838,6 @@ ksocknal_query(lnet_ni_t *ni, lnet_nid_t nid, unsigned long *when)
 		ksocknal_launch_all_connections_locked(peer);
 
 	write_unlock_bh(glock);
-	return;
 }
 
 static void
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web