linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: Remove unneeded return from void function
@ 2015-09-23 10:31 Guillaume Gomez
  2015-09-23 14:15 ` Sergei Shtylyov
  2015-09-23 18:01 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Guillaume Gomez @ 2015-09-23 10:31 UTC (permalink / raw)
  To: netdev, linux-kernel

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: Remove unneeded return from void function
  2015-09-23 10:31 [PATCH] net: Remove unneeded return from void function Guillaume Gomez
@ 2015-09-23 14:15 ` Sergei Shtylyov
  2015-09-23 18:01 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2015-09-23 14:15 UTC (permalink / raw)
  To: Guillaume Gomez, netdev, linux-kernel

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

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

    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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: Remove unneeded return from void function
  2015-09-23 10:31 [PATCH] net: Remove unneeded return from void function Guillaume Gomez
  2015-09-23 14:15 ` Sergei Shtylyov
@ 2015-09-23 18:01 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2015-09-23 18:01 UTC (permalink / raw)
  To: guillaume1.gomez; +Cc: netdev, linux-kernel

From: Guillaume Gomez <guillaume1.gomez@gmail.com>
Date: Wed, 23 Sep 2015 12:31:27 +0200

> Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>

Your patch is corrupted by your email client, in particular it turns
TAB characters into sequences of SPACEs.

Please fix this up, test email the patch to yourself, and only
resubmit the patch to the mailing list once you can successfully apply
the patch you receive in that test email.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-23 18:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-23 10:31 [PATCH] net: Remove unneeded return from void function Guillaume Gomez
2015-09-23 14:15 ` Sergei Shtylyov
2015-09-23 18:01 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).