> -Original Message-
> From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
> ow...@vger.kernel.org] On Behalf Of Douglas Gilbert
> Sent: Tuesday, 24 June, 2014 6:24 PM
> To: SCSI development list; Christoph Hellwig; James Bottomley
> Subject: [PATCH] cleanup switch in scsi_adjust_q
> "Doug" == Douglas Gilbert writes:
Doug> While checking what scsi_adjust_queue_depth() did I thought its
Doug> switch statement could be clearer.
Doug> ChangeLog:
Doug> - remove redundant assignment (to sdev->queue_depth)
Doug> - re-order cases (thus removing the fall-through)
Doug> Si
2 matches
Mail list logo