RE: [PATCH] cleanup switch in scsi_adjust_queue_depth()

2014-07-01 Thread Elliott, Robert (Server Storage)
> -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

Re: [PATCH] cleanup switch in scsi_adjust_queue_depth()

2014-06-25 Thread Martin K. Petersen
> "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