dmaengine: Drop redundant 'else' keyword
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 26 Feb 2020 10:18:40 +0000 (12:18 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 2 Mar 2020 07:18:13 +0000 (12:48 +0530)
commit5f77dd850c0a32d4d5047d139077718ee7f1a8fe
tree0d6d031d60ad3e810e65f2a9bce633578c6d7eba
parent3a92063be16873a10648a81be0b1be42a9d54ee9
dmaengine: Drop redundant 'else' keyword

It's obvious that 'else' keyword is redundant in the code like

if (foo)
return bar;
else if (baz)
...

Drop it for good.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200226101842.29426-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/linux/dmaengine.h