osd: remove deadcode
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 24 Feb 2016 11:21:28 +0000 (16:51 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 26 Feb 2016 02:11:42 +0000 (21:11 -0500)
commitba690c79e5c4d1b5e8025a37139bfdd2a5e2e07a
tree07cbebe2084158ded8a11570736fb6f997a8ef54
parent9ffeca3e576b9f8b18071ca03f7562d198c2f68b
osd: remove deadcode

The variable is_ver1 is always true and so OSD_CAP_LEN can never be
used.

Reported by Coverity.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Acked-by: Boaz harrosh <ooo@elecrozaur.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/osd/osd_initiator.c