commit | 20272f3a4801605f5f1e1e92ad53c5e7b307507d | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Dec 27 11:28:12 2020 +0100 |
committer | Michal Simek <michal.simek@xilinx.com> | Tue Jan 05 11:54:53 2021 +0100 |
tree | c71a241a920666202ebb240788ea2adecddbbe36 | |
parent | cada8b6d3662d893580dc727778e35c5a5362645 [diff] |
zynq: mtd: nand: remove superfluous if This sort of code does not make much sense: if (ondie_ecc_enabled) { if (ondie_ecc_enabled) { Remove the inner if. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>