Skip to contentSkip to conversation

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

PATCH New Nilesh Kokane 1 participant 1 message Oct 23, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: lustre: lnet :socklnd return statement in void function not useful

Return function in void function is not needed.

---
 drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c +0 -1
index 4128a92..2b08e28 100644
@@ -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
Signature · 1 line
1.9.1