diff mbox

net: Remove unneeded return from void function

Message ID CAAOQCfQr9V-mb5uJdxk_=Npuy+Fx1ekAFoC2t-bWZJCqfLqmdQ@mail.gmail.com
State Superseded, archived
Delegated to: David Miller
Headers show

Commit Message

Guillaume Gomez Sept. 23, 2015, 10:31 a.m. UTC
Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
---
 include/linux/netdevice.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

 /**

Comments

Sergei Shtylyov Sept. 23, 2015, 2:15 p.m. UTC | #1
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 netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller Sept. 23, 2015, 6:01 p.m. UTC | #2
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 netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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