]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: 8250_dw: Drop unneeded NULL checks in dw8250_quirks()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Feb 2025 12:14:56 +0000 (14:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Feb 2025 13:40:37 +0000 (14:40 +0100)
commitbfd3d4a40f3905ec70b17dbfa9b78764e59e4b4f
tree69f90b9252b8588bd28b37a85fdcbb9e076609da
parent705327813879f14a22bd99ed6c76eecf5acb07f3
serial: 8250_dw: Drop unneeded NULL checks in dw8250_quirks()

Since platform data is being provided for all supported hardware,
no need to NULL check for it. Drop unneeded checks.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250203121456.3182891-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c