2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-01 09:23:32 +08:00
linux-next/drivers/tty/serial/8250
Jiri Slaby 17b2720b11 tty: 8250, remove shadow and unused variables
The compiler complains about variables that are set, but never used:
* intX variables in exar_handle_irq
  drivers/tty/serial/8250/8250_port.c:1864:34: warning: variable ‘int3’ set but not used [-Wunused-but-set-variable]
* val variable in pci_quatech_wqopr
  drivers/tty/serial/8250/8250_pci.c:1139:10: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]

And about a shadow variable:
* tmout in wait_for_xmitr is defined twice with the same type. Both of
  them are also initialized before use.

Remove all of them.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Matt Schulte <matts@commtech-fastcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-25 09:04:48 -07:00
..
8250_accent.c tty: serial: 8250: Add generic port init macro 2016-02-06 23:15:53 -08:00
8250_acorn.c tty: serial: 8250: Fix whitespace errors 2016-02-06 23:15:53 -08:00
8250_bcm2835aux.c serial: bcm2835: fix unsigned int issue with irq 2016-02-14 17:39:36 -08:00
8250_boca.c tty: serial: 8250: Add generic port init macro 2016-02-06 23:15:53 -08:00
8250_core.c tty: 8250, kill DEBUG_INTR 2016-06-25 08:56:30 -07:00
8250_dma.c serial: 8250: Extract IIR logic steering from rx dma 2016-04-30 09:26:55 -07:00
8250_dw.c serial: 8250_dw: fix wrong logic in dw8250_check_lcr() 2016-05-03 16:10:38 -07:00
8250_early.c serial: 8250_early: Add earlycon support for Tegra 2016-02-14 17:39:36 -08:00
8250_em.c serial: 8250: remove the redundant include 2015-03-26 22:21:08 +01:00
8250_exar_st16c554.c tty: serial: 8250: Add generic port init macro 2016-02-06 23:15:53 -08:00
8250_fintek.c serial: 8250: Integrate Fintek into 8250_base 2016-04-30 09:26:55 -07:00
8250_fourport.c tty: serial: 8250: Add generic port init macro 2016-02-06 23:15:53 -08:00
8250_fsl.c serial: export fsl8250_handle_irq 2015-11-20 16:19:54 -08:00
8250_gsc.c tty: serial: 8250: Suitably replace printk 2016-02-06 23:15:53 -08:00
8250_hp300.c tty: serial: 8250: Suitably replace printk 2016-02-06 23:15:53 -08:00
8250_hub6.c tty: serial: 8250: Fix whitespace errors 2016-02-06 23:15:53 -08:00
8250_ingenic.c serial: 8250/ingenic: fix building with SERIAL_8250=m 2016-03-07 16:11:14 -08:00
8250_lpc18xx.c serial: 8250: add LPC18xx/43xx UART driver 2015-06-01 06:56:33 +09:00
8250_mid.c serial: 8250_mid: correct comment regarding Tangier HSU 2016-04-30 09:26:55 -07:00
8250_moxa.c tty: serial: 8250: add MOXA Smartio MUE boards support 2016-03-07 16:11:14 -08:00
8250_mtk.c serial: 8250: convert drivers to use up_to_u8250p() 2016-03-07 16:11:14 -08:00
8250_of.c serial: 8250: of: Make tegra_serial_handle_break() static 2016-04-30 09:26:55 -07:00
8250_omap.c serial: omap8250: Terminate rx dma only for flushes 2016-04-30 09:26:55 -07:00
8250_pci.c tty: 8250, remove shadow and unused variables 2016-06-25 09:04:48 -07:00
8250_pnp.c tty: serial: 8250: Fix indentation warnings 2016-02-06 23:15:53 -08:00
8250_port.c tty: 8250, remove shadow and unused variables 2016-06-25 09:04:48 -07:00
8250_uniphier.c serial: 8250_uniphier: add "\n" at the end of error log 2016-04-30 09:26:55 -07:00
8250.h tty: 8250, kill DEBUG_INTR 2016-06-25 08:56:30 -07:00
Kconfig serial: 8250: Integrate Fintek into 8250_base 2016-04-30 09:26:55 -07:00
Makefile serial: 8250: Integrate Fintek into 8250_base 2016-04-30 09:26:55 -07:00
serial_cs.c tty: serial: 8250: Fix multi-line strings 2016-02-06 23:15:53 -08:00