mtd: spi-nor: remove redundant continue statement
authorColin Ian King <colin.king@canonical.com>
Fri, 18 Jun 2021 09:33:31 +0000 (10:33 +0100)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 21 Jun 2021 05:47:10 +0000 (11:17 +0530)
commitc17e5c85b32f8809135f3211ba2525fb98b5c09f
treec145b03357572feb20f272242cca806460c9e7c9
parent36ac0228626585ba718186b9db2e5986a198152c
mtd: spi-nor: remove redundant continue statement

The continue statement at the end of a for-loop has no effect,
invert the if expression and remove the continue.

Addresses-Coverity: ("Continue has no effect")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
drivers/mtd/spi-nor/core.c