]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: 8250_ni: Remove unneeded conditionals
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 21 Mar 2025 18:20:15 +0000 (20:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Apr 2025 14:51:19 +0000 (16:51 +0200)
commit38dbd9517d5872b2cafb576656fb214b48b1e893
tree284935e8a23f31828b5990a3480919386ce069fb
parentb4694a76180b71cc4040c3c9ab75ea0058b6cc3a
serial: 8250_ni: Remove unneeded conditionals

It doesn't matter if the properties are supplied or not in
the struct ni16550_device_info as default in any case is 0.
Hence there is no need to check for them being set.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com>
Reviewed-by: Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com>
Link: https://lore.kernel.org/r/20250321182119.454507-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_ni.c