diff options
author | 2020-09-17 10:52:13 +0300 | |
---|---|---|
committer | 2020-09-30 16:44:17 +0200 | |
commit | fb8c3810d7c8d2bca01292395e35b85419394f52 (patch) | |
tree | 02ff40658abefe97a50dd2f8fe43c60e1a9454ce /drivers/usb/cdns3/cdns3-imx.c | |
parent | mtd: rawnand: Introduce nand_set_ecc_on_host_ops() (diff) | |
download | linux-dev-fb8c3810d7c8d2bca01292395e35b85419394f52.tar.xz linux-dev-fb8c3810d7c8d2bca01292395e35b85419394f52.zip |
mtd: rawnand: Don't overwrite the error code from nand_set_ecc_soft_ops()
The error code received from nand_set_ecc_soft_ops() was overwritten,
drop this redundant assignment and use the error code received from
the callee.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200917075213.532161-4-tudor.ambarus@microchip.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions