lkml.org 
[lkml]   [2015]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/1] net: Remove unneeded return from void function
Date
From: Guillaume Gomez <guillaume1.gomez@gmail.com>

Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
---
include/linux/netdevice.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 88a0069..4a444a1 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -457,7 +457,7 @@ void napi_complete_done(struct napi_struct *n, int work_done);
*/
static inline void napi_complete(struct napi_struct *n)
{
- return napi_complete_done(n, 0);
+ napi_complete_done(n, 0);
}

/**
--
1.9.1


\
 
 \ /
  Last update: 2015-09-23 20:41    [W:0.038 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site