Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msm_geni_serial: Guard unused variables CONFIG_DEBUG_FS
../drivers/tty/serial/msm_geni_serial.c:539:7: warning: unused variable 'geni_status' [-Wunused-variable] u32 geni_status = geni_read_reg_nolog(uport->membase, ^ ../drivers/tty/serial/msm_geni_serial.c:541:7: warning: unused variable 'geni_ios' [-Wunused-variable] u32 geni_ios = geni_read_reg_nolog(uport->membase, SE_GENI_IOS); ^ ../drivers/tty/serial/msm_geni_serial.c:542:7: warning: unused variable 'rx_fifo_status' [-Wunused-variable] u32 rx_fifo_status = geni_read_reg_nolog(uport->membase, ^ ../drivers/tty/serial/msm_geni_serial.c:544:7: warning: unused variable 'rx_dma' [-Wunused-variable] u32 rx_dma = ^ ../drivers/tty/serial/msm_geni_serial.c:632:31: warning: unused variable 'port' [-Wunused-variable] struct msm_geni_serial_port *port = GET_DEV_PORT(uport); ^ ../drivers/tty/serial/msm_geni_serial.c:797:31: warning: unused variable 'port' [-Wunused-variable] struct msm_geni_serial_port *port = GET_DEV_PORT(uport); ^ ../drivers/tty/serial/msm_geni_serial.c:1415:31: warning: unused variable 'port' [-Wunused-variable] struct msm_geni_serial_port *port = GET_DEV_PORT(uport); ^ ../drivers/tty/serial/msm_geni_serial.c:1627:31: warning: unused variable 'port' [-Wunused-variable] struct msm_geni_serial_port *port = GET_DEV_PORT(uport); ^ Signed-off-by: Charsi-Tejas <[email protected]>
- Loading branch information