Skip to content
Commit 389b45d6 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Michal Simek
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 0e3a7aa7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment