linux/drivers/s390/scsi
Christof Schmitt bc90c8632f [SCSI] zfcp: Remove unnecessary default case and assignments
enum dma_data_direction only has the 4 values DMA_BIDIRECTIONAL,
DMA_TO_DEVICE, DMA_FROM_DEVICE and DMA_NONE. No need to have the
default case. While changing this, setup sbtype in one place to make
sparse happy.

The default value of retval is already -EIO, so remove the
additional assignment for these two cases.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-05-23 15:44:15 -05:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Fix oops when port disappears 2009-04-27 10:07:37 -05:00
zfcp_ccw.c [SCSI] zfcp: Update message and add description 2009-05-23 15:44:14 -05:00
zfcp_cfdc.c [SCSI] zfcp: Reference counting for cfdc requests 2009-04-27 10:07:36 -05:00
zfcp_dbf.c [SCSI] zfcp: Use correct req_id for traces 2009-05-23 15:44:14 -05:00
zfcp_dbf.h [SCSI] zfcp: replace current ERP logging with a more convenient version 2009-03-12 12:58:20 -05:00
zfcp_def.h [SCSI] zfcp: Dont block zfcp_wq with scan 2009-04-27 10:07:26 -05:00
zfcp_erp.c [SCSI] zfcp: avoid false ERP complete due to sema race 2009-04-27 10:07:28 -05:00
zfcp_ext.h [SCSI] zfcp: Set WKA-port to offline on adapter deactivation 2009-04-27 10:07:27 -05:00
zfcp_fc.c [SCSI] zfcp: Fix port reference counting 2009-04-27 10:07:35 -05:00
zfcp_fsf.c [SCSI] zfcp: Remove unnecessary default case and assignments 2009-05-23 15:44:15 -05:00
zfcp_fsf.h [SCSI] zfcp: remove undefined subtype for status read response 2009-03-12 12:58:20 -05:00
zfcp_qdio.c [SCSI] zfcp: Remove PCI flag 2009-03-12 12:58:21 -05:00
zfcp_scsi.c [SCSI] zfcp: Make queue_depth adjustable 2009-05-23 15:44:14 -05:00
zfcp_sysfs.c [SCSI] zfcp: remove unit will fail if add unit is not finished 2009-04-27 10:07:31 -05:00