From: Alexander Shiyan Date: Thu, 13 Feb 2014 18:08:29 +0000 (+0400) Subject: serial: max310x: Fix build warning X-Git-Tag: v3.15-rc1~138^2~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4f6b412ec2b2c02f9ad9cb972af44842d387924;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Alexander Shiyan Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index e49d88add0b46..ef01d372956a0 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, #ifdef CONFIG_GPIOLIB WARN_ON(gpiochip_remove(&s->gpio)); -#endif out_uart: +#endif uart_unregister_driver(&s->uart); out_clk: