]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: qedi: Remove comparison of u16 idx with zero.
authorChristos Gkekas <chris.gekas@gmail.com>
Sat, 24 Jun 2017 16:24:45 +0000 (17:24 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:32:51 +0000 (22:32 -0700)
commit3475910a6a471447dd11bea6882e91b153d7ed8c
tree3a7de86d6e7d768c3f050d21e8b469c45d2c86ba
parentcd26c9b762302b715fe65c16ea04dad7a9e773cf
scsi: qedi: Remove comparison of u16 idx with zero.

Orabug: 26759520

Variable idx is defined as u16 thus statement (idx < 0) is always false
and should be removed.

Signed-off-by: Christos Gkekas <chris.gekas@gmail.com>
Acked-by: Manish Rangankar <Manish.Rangankar@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/qedi/qedi_fw.c