Skip to content
Commit 90d4fa45 authored by Richard Weinberger's avatar Richard Weinberger Committed by Cyrille Pitchen
Browse files

mtd: spi-nor: Kill check with no effect



header.minor is of type u8 and cannot be negative.

Detected by CoverityScan CID#1417858 ("Integer handling issues")

Fixes: f384b352 ("mtd: spi-nor: parse Serial Flash Discoverable
Parameters (SFDP) tables")
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
parent 8a5776a5
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