Peter Hurley
6b3cddccf4
serial: core: Fix unused variable warnings from uart_console()
If CONFIG_SERIAL_CORE_CONSOLE=n, build warnings are generated by
uart_console() macro expansion:
drivers/tty/serial/of_serial.c: In function ‘of_serial_suspend_8250’:
drivers/tty/serial/of_serial.c:262:20: warning: unused variable ‘port’ [-Wunused-variable]
struct uart_port *port = &port8250->port;
^
drivers/tty/serial/of_serial.c: In function ‘of_serial_resume_8250’:
drivers/tty/serial/of_serial.c:272:20: warning: unused variable ‘port’ [-Wunused-variable]
struct uart_port *port = &port8250->port;
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-06 22:27:00 +02:00
..
2015-04-22 18:33:48 +03:00
2015-04-22 09:24:55 -07:00
2015-04-22 18:33:43 +03:00
2015-04-24 09:49:37 -07:00
2015-04-24 08:23:45 -07:00
2015-04-26 13:36:02 -07:00
2015-04-24 09:49:37 -07:00
2015-04-24 09:49:37 -07:00
2015-04-22 08:00:41 +10:00
2015-04-23 15:16:37 -04:00
2015-04-24 08:23:45 -07:00
2015-04-22 08:00:42 +10:00
2015-04-24 08:23:45 -07:00
2015-04-21 14:47:16 +05:30
2015-04-26 17:22:07 -07:00
2015-04-21 09:42:58 -07:00
2015-04-18 12:32:59 -07:00
2015-04-21 09:44:55 -03:00
2015-04-23 16:52:01 +02:00
2015-04-22 09:44:36 -07:00
2015-04-18 11:20:31 -04:00
2015-04-29 14:59:16 -04:00
2015-04-24 20:51:40 +02:00
2015-04-21 16:16:04 -04:00
2015-04-26 17:33:59 -07:00
2015-04-23 14:36:28 -04:00
2015-04-24 08:46:18 -07:00
2015-04-24 11:38:12 -04:00
2015-04-29 14:59:16 -04:00
2015-04-27 15:49:30 +02:00
2015-05-06 22:27:00 +02:00
2015-04-25 15:49:49 -04:00
2015-04-20 09:08:49 -07:00
2015-05-06 22:26:57 +02:00
2015-04-28 12:48:57 +02:00