thunderbolt: Get rid of redundant 'else'
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 27 Mar 2023 17:20:16 +0000 (20:20 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 29 Mar 2023 08:05:05 +0000 (11:05 +0300)
commit4e99c98e3071bd7fd4d7f20440f1a5c3bf533149
treeed56fbeb01367568d7255e3106897402d2ce8710
parentebde5ba27c640e08e92c83fe30be0d9fa224eea9
thunderbolt: 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>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/acpi.c
drivers/thunderbolt/ctl.c
drivers/thunderbolt/nhi.c
drivers/thunderbolt/switch.c
drivers/thunderbolt/usb4.c
drivers/thunderbolt/xdomain.c