]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
serial: imx: Remove unused members from imx_port struct
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 20 Jun 2017 17:12:49 +0000 (14:12 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 15:08:01 +0000 (17:08 +0200)
IRDA support is gone since commit afe9cbb1a6ad ("serial: imx: drop
support for IRDA"), so remove the remaining irda members from
imx_port structure.

While at it, also remove 'trcv_delay' which is also unused.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c

index 92606b1e55bddbc3a897d2ab1d68d9ad34870c2c..cbaf85212074624764f53e50ff2c7ee6924df772 100644 (file)
@@ -207,9 +207,6 @@ struct imx_port {
        unsigned int            have_rtscts:1;
        unsigned int            have_rtsgpio:1;
        unsigned int            dte_mode:1;
-       unsigned int            irda_inv_rx:1;
-       unsigned int            irda_inv_tx:1;
-       unsigned short          trcv_delay; /* transceiver delay */
        struct clk              *clk_ipg;
        struct clk              *clk_per;
        const struct imx_uart_data *devdata;