Re: [PATCH -next] serial: imx: remove set but not used variable 'rtsirq'

2018-09-20 Thread YueHaibing
On 2018/9/20 17:41, Andy Duan wrote: > From: Leonard Crestez Sent: 2018年9月20日 16:51 >> On Thu, 2018-09-20 at 08:45 +0200, Jiri Slaby wrote: >>> On 09/20/2018, 03:58 AM, YueHaibing wrote: Fixes gcc '-Wunused-but-set-variable' warning: drivers/tty/serial/imx.c: In function 'imx_uart_pr

RE: [PATCH -next] serial: imx: remove set but not used variable 'rtsirq'

2018-09-20 Thread Andy Duan
From: Leonard Crestez Sent: 2018年9月20日 16:51 > On Thu, 2018-09-20 at 08:45 +0200, Jiri Slaby wrote: > > On 09/20/2018, 03:58 AM, YueHaibing wrote: > > > Fixes gcc '-Wunused-but-set-variable' warning: > > > > > > drivers/tty/serial/imx.c: In function 'imx_uart_probe': > > > drivers/tty/serial/imx.c:

Re: [PATCH -next] serial: imx: remove set but not used variable 'rtsirq'

2018-09-20 Thread Leonard Crestez
On Thu, 2018-09-20 at 08:45 +0200, Jiri Slaby wrote: > On 09/20/2018, 03:58 AM, YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > > > drivers/tty/serial/imx.c: In function 'imx_uart_probe': > > drivers/tty/serial/imx.c:2198:20: warning: > > variable 'rtsirq' set but not use

Re: [PATCH -next] serial: imx: remove set but not used variable 'rtsirq'

2018-09-20 Thread Uwe Kleine-König
On Thu, Sep 20, 2018 at 01:58:45AM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/tty/serial/imx.c: In function 'imx_uart_probe': > drivers/tty/serial/imx.c:2198:20: warning: > variable 'rtsirq' set but not used [-Wunused-but-set-variable] > > Signed-off-by

[PATCH -next] serial: imx: remove set but not used variable 'rtsirq'

2018-09-19 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/tty/serial/imx.c: In function 'imx_uart_probe': drivers/tty/serial/imx.c:2198:20: warning: variable 'rtsirq' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- drivers/tty/serial/imx.c | 3 +-- 1 file changed, 1 ins