fc: FCP_PTA_SIMPLE is 0
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Nov 2014 14:50:09 +0000 (15:50 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 4 Dec 2014 08:58:33 +0000 (09:58 +0100)
commitea6bb33e7f5f759e14806686321c1e78733c9f4d
tree6d900f598587fd78972abca59507514c22e318a9
parente1c50738009d0ac7741dbc82145fffebc9bf12de
fc: FCP_PTA_SIMPLE is 0

Not need to have an if/else to either assign FCP_PTA_SIMPLE or 0
to a variable.

Btw, it seems we really should factor generating a fcp cmnd from
a scsi_cmnd into a common helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/bnx2fc/bnx2fc_io.c
drivers/scsi/csiostor/csio_scsi.c