]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_pci: Get rid of redundant 'else' keyword
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 22 Oct 2021 13:51:46 +0000 (16:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Oct 2021 06:41:13 +0000 (08:41 +0200)
commit16e03a0cabb828abb686ddee86b468933f076d39
treeb583ea8e9b208bc6550be5bb75ff859cc123d346
parent0c5e893574e53488d1a2eead56ddb597bbe174c0
serial: 8250_pci: Get rid of redundant 'else' keyword

The 'else' keyword is not needed when previous conditional branch returns
to the upper layer. Get rid of redundant 'else' keyword in such cases.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jiri Slaby <jslaby@kernel.org>
Link: https://lore.kernel.org/r/20211022135147.70965-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c