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


Groups > linux.kernel > #1231325 > unrolled thread

[PATCH] net: Remove unneeded return from void function

Started byGuillaume Gomez <guillaume1.gomez@gmail.com>
First post2015-09-23 12:40 +0200
Last post2015-09-23 20:10 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [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

#1231325 — [PATCH] net: Remove unneeded return from void function

FromGuillaume Gomez <guillaume1.gomez@gmail.com>
Date2015-09-23 12:40 +0200
Subject[PATCH] net: Remove unneeded return from void function
Message-ID<qbPCW-1wv-17@gated-at.bofh.it>
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/

[toc] | [next] | [standalone]


#1231469

FromSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date2015-09-23 16:20 +0200
Message-ID<qbT3Q-6As-17@gated-at.bofh.it>
In reply to#1231325
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

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

[toc] | [prev] | [next] | [standalone]


#1231625

FromDavid Miller <davem@davemloft.net>
Date2015-09-23 20:10 +0200
Message-ID<qbWEq-3q5-35@gated-at.bofh.it>
In reply to#1231325
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.
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web