summaryrefslogtreecommitdiff
path: root/net/rxrpc/local_object.c
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2019-04-09 11:16:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-03 09:18:11 +0300
commit60f4dba7075905995175bf206439837c1e328d9e (patch)
tree3afe97c4802a5974e5e9fdfab429609fa04e617e /net/rxrpc/local_object.c
parentbe22b6df6d80494ad855ed04fb990267d2db2f15 (diff)
downloadlinux-60f4dba7075905995175bf206439837c1e328d9e.tar.xz
sc16is7xx: move label 'err_spi' to correct section
commit e00164a0f000de893944981f41a568c981aca658 upstream. err_spi is used when SERIAL_SC16IS7XX_SPI is enabled, so make the label only available under SERIAL_SC16IS7XX_SPI option. Otherwise, the below warning appears. drivers/tty/serial/sc16is7xx.c:1523:1: warning: label ‘err_spi’ defined but not used [-Wunused-label] err_spi: ^~~~~~~ Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Fixes: ac0cdb3d9901 ("sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rxrpc/local_object.c')
0 files changed, 0 insertions, 0 deletions