Module: xenomai-3
Branch: next
Commit: 13ef30a391d34310fe557e0b49322b966fa91def
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=13ef30a391d34310fe557e0b49322b966fa91def

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Sep 29 03:15:15 2015 +0200

rtnet/rtdev.c: do not use return in a void function

---

 kernel/drivers/net/stack/rtdev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/drivers/net/stack/rtdev.c b/kernel/drivers/net/stack/rtdev.c
index 54a7d82..4bc108f 100644
--- a/kernel/drivers/net/stack/rtdev.c
+++ b/kernel/drivers/net/stack/rtdev.c
@@ -242,7 +242,7 @@ static int rtdev_rx_pool_trylock(void *cookie)
 
 static void rtdev_rx_pool_unlock(void *cookie)
 {
-    return rtdev_dereference(cookie);
+    rtdev_dereference(cookie);
 }
 
 static const struct rtskb_pool_lock_ops rtdev_ops = {


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to