platform/x86: serial-multi-instantiate: Get rid of redundant 'else'
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 9 Jul 2022 21:16:52 +0000 (00:16 +0300)
committerHans de Goede <hdegoede@redhat.com>
Sun, 10 Jul 2022 15:59:54 +0000 (17:59 +0200)
commitf3e13bbc6f5a84f9c15883a97649023522eec481
tree09e349dff3c8e1d7ca6aff44ccf38acafb11a239
parented7adc2b69c6492ebb2733d8914c6d765ec9770b
platform/x86: serial-multi-instantiate: Get rid of redundant 'else'

In the snippets like the following

if (...)
return / goto / break / continue ...;
else
...

the 'else' is redundant. Get rid of it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220709211653.18938-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/serial-multi-instantiate.c