iio: core: Get rid of redundant 'else'
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 21 Jul 2023 17:00:19 +0000 (20:00 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 23 Jul 2023 09:15:42 +0000 (10:15 +0100)
commit1702df5d8f46a2a743a3267dbf6555fd9f47cff5
treea78603ed27a68ac046476900914871c90c57616b
parentcb1d17535061ca295903f97f5cb0af9db719c02c
iio: core: 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: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20230721170022.3461-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-core.c