diff options
author | Douglas Gilbert <[email protected]> | 2014-07-07 18:00:35 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-07-17 22:07:45 +0200 |
commit | cb23f912a906d023940b54b403a1b7d6bfb97416 (patch) | |
tree | 6c4b3ae71009d59ef58c8daf10875b395deb098d /tools/perf/scripts/python | |
parent | f1bea55d5afa371c311b61946c58b2cd4e78fb2d (diff) |
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 <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Robert Elliott <[email protected]>
Tested-by: Robert Elliott <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions