Commit fb8c381
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.com1 parent 6e88127 commit fb8c381
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5698 | 5698 | | |
5699 | 5699 | | |
5700 | 5700 | | |
5701 | | - | |
5702 | | - | |
| 5701 | + | |
5703 | 5702 | | |
5704 | | - | |
5705 | 5703 | | |
5706 | 5704 | | |
5707 | 5705 | | |
| |||
0 commit comments