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


Groups > linux.kernel > #1231325

[PATCH] net: Remove unneeded return from void function

From Guillaume Gomez <guillaume1.gomez@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] net: Remove unneeded return from void function
Date 2015-09-23 12:40 +0200
Message-ID <qbPCW-1wv-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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);
 }

 /**
-- 
2.1.4
--
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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] net: Remove unneeded return from void function Guillaume Gomez <guillaume1.gomez@gmail.com> - 2015-09-23 12:40 +0200
  Re: [PATCH] net: Remove unneeded return from void function Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-09-23 16:20 +0200
  Re: [PATCH] net: Remove unneeded return from void function David Miller <davem@davemloft.net> - 2015-09-23 20:10 +0200

csiph-web