mtd: spi-nor: Kill check with no effect
authorRichard Weinberger <richard@nod.at>
Sun, 17 Sep 2017 14:13:52 +0000 (16:13 +0200)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 10 Oct 2017 15:00:25 +0000 (17:00 +0200)
commit90d4fa4540f16df552b4bac480a032552e594fc3
tree475eff301e0282cca24e20b63d9f738064b95724
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f
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: f384b352cbf0 ("mtd: spi-nor: parse Serial Flash Discoverable
Parameters (SFDP) tables")
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/spi-nor.c