]> www.infradead.org Git - nvme.git/commit
tty: serial: fsl_lpuart: Fix unused variable 'sport' build warning
authorSherry Sun <sherry.sun@nxp.com>
Mon, 24 Mar 2025 02:10:51 +0000 (10:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Mar 2025 13:27:10 +0000 (06:27 -0700)
commit9f8fe348ac9544f6855f82565e754bf085d81f88
tree0ab19269ae5b53b129a08bc8a0d1379049034131
parent2790ce23951f0c497810c44ad60a126a59c8d84c
tty: serial: fsl_lpuart: Fix unused variable 'sport' build warning

Remove the unused variable 'sport' to avoid the kernel build warning.

Fixes: 3cc16ae096f1 ("tty: serial: fsl_lpuart: use port struct directly to simply code")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503210614.2qGlnbIq-lkp@intel.com/
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20250324021051.162676-1-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c