diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-02-13 13:08:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 13:18:49 -0500 |
commit | d4f6b412ec2b2c02f9ad9cb972af44842d387924 (patch) | |
tree | 1cf9cfdcad8572d880c43b41b449d8342dc2da5e /drivers/tty/serial/max310x.c | |
parent | e3c6ea9b1b81b87de96c01d5d37764009d546636 (diff) |
serial: max310x: Fix build warning
config: x86_64-randconfig-x006 (attached as .config)
All warnings:
drivers/tty/serial/max310x.c: In function 'max310x_probe':
>> drivers/tty/serial/max310x.c:1240:1: warning: label 'out_uart' defined but not used [-Wunused-label]
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/max310x.c')
-rw-r--r-- | drivers/tty/serial/max310x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index e49d88add0b4..ef01d372956a 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c | |||
@@ -1250,9 +1250,9 @@ static int max310x_probe(struct device *dev, struct max310x_devtype *devtype, | |||
1250 | 1250 | ||
1251 | #ifdef CONFIG_GPIOLIB | 1251 | #ifdef CONFIG_GPIOLIB |
1252 | WARN_ON(gpiochip_remove(&s->gpio)); | 1252 | WARN_ON(gpiochip_remove(&s->gpio)); |
1253 | #endif | ||
1254 | 1253 | ||
1255 | out_uart: | 1254 | out_uart: |
1255 | #endif | ||
1256 | uart_unregister_driver(&s->uart); | 1256 | uart_unregister_driver(&s->uart); |
1257 | 1257 | ||
1258 | out_clk: | 1258 | out_clk: |