From: Douglas Gilbert Date: Mon, 7 Jul 2014 16:00:35 +0000 (+0200) Subject: scsi: cleanup switch in scsi_adjust_queue_depth X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb23f912a906d023940b54b403a1b7d6bfb97416;p=pandora-kernel.git scsi: cleanup switch in scsi_adjust_queue_depth While checking what scsi_adjust_queue_depth() did I thought its switch statement could be clearer: - remove redundant assignment (to sdev->queue_depth) - re-order cases (thus removing the fall-through) Signed-off-by: Douglas Gilbert Reviewed-by: Martin K. Petersen Reviewed-by: Robert Elliott Tested-by: Robert Elliott Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed