]> Git Repo - u-boot.git/commit
zynq: mtd: nand: remove superfluous if
authorHeinrich Schuchardt <[email protected]>
Sun, 27 Dec 2020 10:28:12 +0000 (11:28 +0100)
committerMichal Simek <[email protected]>
Tue, 5 Jan 2021 10:54:53 +0000 (11:54 +0100)
commit389b45d6b05784c0043bac859666b98a5f704402
treec71a241a920666202ebb240788ea2adecddbbe36
parent0e3a7aa7a9cbf5764cae8ffbda09985c677d4476
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 <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
drivers/mtd/nand/raw/zynq_nand.c
This page took 0.03489 seconds and 4 git commands to generate.