]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mtd: cfi: Get rid of redundant 'else'
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 3 May 2024 18:42:30 +0000 (21:42 +0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 27 May 2024 11:39:51 +0000 (13:39 +0200)
commit5350f6ec55df381cd99db2a6bde283328fb3f75a
tree84046cd8e25aff1b6354a8a4eebe365dc93e7512
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
mtd: cfi: 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: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240503184230.2927283-1-andriy.shevchenko@linux.intel.com
include/linux/mtd/cfi.h