From: Christof Schmitt Date: Fri, 15 May 2009 11:18:17 +0000 (+0200) Subject: [SCSI] zfcp: Remove unnecessary default case and assignments X-Git-Tag: v2.6.31-rc1~365^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc90c8632f63cd94246e3fb6f1b6d7ecba48f1a0;p=pandora-kernel.git [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 Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed