[PATCH 3/4] staging: ozwpan: fix redundant return in void function

anicoara anicoara at uwaterloo.ca
Sun Sep 7 18:25:35 UTC 2014


Signed-off-by: Adrian Nicoara <anicoara at uwaterloo.ca>
---
Patch submitted as part of the Eudyptula challenge.

 drivers/staging/ozwpan/ozproto.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.c
index cae0e6f..3d3a3a8 100644
--- a/drivers/staging/ozwpan/ozproto.c
+++ b/drivers/staging/ozwpan/ozproto.c
@@ -112,7 +112,6 @@ static void oz_send_conn_rsp(struct oz_pd *pd, u8 status)
 	}
 	oz_dbg(ON, "TX: OZ_ELT_CONNECT_RSP %d", status);
 	dev_queue_xmit(skb);
-	return;
 }

 /*
--
2.0.1



More information about the devel mailing list