Re: [PATCH] net: Remove unneeded return from void function

From: Sergei Shtylyov
Date: Wed Sep 23 2015 - 10:15:56 EST


On 9/23/2015 1:31 PM, Guillaume Gomez wrote:

Signed-off-by: Guillaume Gomez <guillaume1.gomez@xxxxxxxxx>
---
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);

The patch is line-wrapped.

*/
static inline void napi_complete(struct napi_struct *n)
{
- return napi_complete_done(n, 0);
+ napi_complete_done(n, 0);

And tabs were converted to spaces.

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/