[PATCH v2 6/7] IOMUX: Drop indentation level by removing redundant 'else'

Simon Glass sjg at chromium.org
Sat Dec 19 03:29:23 CET 2020


On Wed, 16 Dec 2020 at 16:16, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> Obviously the following has unnecessary indentation level in 'else' branch.
>
>         if (foo) {
>                 ...
>                 return;
>         } else {
>                 ...
>         }
>
> Drop indentation level by removing redundant 'else'.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
> v2: no changes
>  common/iomux.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list