Skip to content
Commit 84dd1902 authored by Dario Binacchi's avatar Dario Binacchi Committed by Tom Rini
Browse files

spl: fit: improve spl_nand_fit_read(...) readability



Replacing the ret variable with err and handling first the error
condition about the value returned by the spl_nand_fit_read routine,
improves the code readability.
Furthermore, the 'else' int the 'else return ret' instruction was
useless.

cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
parent 9f6a14c4
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