[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180329.143842.1841942043775921475.davem@davemloft.net>
Date: Thu, 29 Mar 2018 14:38:42 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: vyasevich@...il.com, nhorman@...driver.com,
viro@...IV.linux.org.uk, linux-sctp@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [net-next] sctp: fix unused lable warning
From: Arnd Bergmann <arnd@...db.de>
Date: Wed, 28 Mar 2018 16:14:56 +0200
> The proc file cleanup left a label possibly unused:
>
> net/sctp/protocol.c: In function 'sctp_defaults_init':
> net/sctp/protocol.c:1304:1: error: label 'err_init_proc' defined but not used [-Werror=unused-label]
>
> This adds an #ifdef around it to match the respective 'goto'.
>
> Fixes: d47d08c8ca05 ("sctp: use proc_remove_subtree()")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
Powered by blists - more mailing lists