]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 26 Jun 2017 19:01:05 +0000 (15:01 -0400)
commite365cab14fc8c15ad754039cde2f4e574453a61b
tree7dc392e8aecab7787b8ceb59168a1beedf6f480e
parentba82d91b7567774242534460910530289192d212
scsi: qedi: Remove comparison of u16 idx with zero.

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>
drivers/scsi/qedi/qedi_fw.c