linux_dsm_epyc7002/drivers/mtd/spi-nor
Colin Ian King 7fa2c7038c mtd: spi-nor: cqspi: remove redundant dead code on error return check
Checking for ret < 0 is redundant because a previous check on ret
being non-zero already handles the ret < 0 case. Remove the redundant
code. Found by CoverityScan, CID#1398863, CID#1398864

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
2017-02-10 14:22:00 +01:00
..
aspeed-smc.c mtd: aspeed: fix compile warning in aspeed_smc_read_from_ahb() 2017-02-10 14:21:59 +01:00
atmel-quadspi.c mtd: atmel-quadspi: add driver for Atmel QSPI controller 2016-07-15 17:43:45 -07:00
cadence-quadspi.c mtd: spi-nor: cqspi: remove redundant dead code on error return check 2017-02-10 14:22:00 +01:00
fsl-quadspi.c mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ 2017-02-10 14:22:00 +01:00
hisi-sfc.c mtd: spi-nor: add hisilicon spi-nor flash controller driver 2016-07-13 17:49:45 -07:00
intel-spi-platform.c spi-nor: Add support for Intel SPI serial flash controller 2017-01-03 17:33:36 +00:00
intel-spi.c spi-nor: Add support for Intel SPI serial flash controller 2017-01-03 17:33:36 +00:00
intel-spi.h spi-nor: Add support for Intel SPI serial flash controller 2017-01-03 17:33:36 +00:00
Kconfig Immutable branch between MFD and MTD due for the v4.11 merge window 2017-02-10 14:06:47 +01:00
Makefile Immutable branch between MFD and MTD due for the v4.11 merge window 2017-02-10 14:06:47 +01:00
mtk-quadspi.c mtd: mtk-nor: remove duplicated include from mtk-quadspi.c 2016-07-19 12:55:28 -07:00
nxp-spifi.c mtd: spi-nor: stop passing around retlen 2016-06-01 17:22:52 -07:00
spi-nor.c mtd: spi-nor: Add support for gd25q16 2017-02-10 14:21:59 +01:00