aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorArnd Bergmann2018-03-28 16:14:56 +0200
committerDavid S. Miller2018-03-29 14:38:27 -0400
commit7ae665f132a62e67ccef1ef0994acba51abc2400 (patch)
treef36f3f8feaa57d686f1a9af3bfb543f272a2ce8b /drivers/net
parent75498aa1aff5dfed0124557dfa0b6b2906b14fa6 (diff)
sctp: fix unused lable warning
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@arndb.de> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions