lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 23 Sep 2015 17:15:46 +0300
From:	Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To:	Guillaume Gomez <guillaume1.gomez@...il.com>,
	netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: Remove unneeded return from void function

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

> Signed-off-by: Guillaume Gomez <guillaume1.gomez@...il.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ