Re: [PATCH v1 1/2] bcm47xx: Get rid of redundant 'else'

From: Thomas Bogendoerfer
Date: Mon Oct 18 2021 - 12:18:45 EST


On Wed, Oct 13, 2021 at 04:49:39PM +0300, Andy Shevchenko wrote:
> In the snipped like
>
> if (...)
> return ...;
> else
>
> the 'else' is redundant. Get rid of it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> arch/mips/pci/pci-bcm47xx.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]