diff options
author | Bart Van Assche <bvanassche@acm.org> | 2014-02-20 14:20:57 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 10:19:25 -0700 |
commit | 27e9e0f12acb5a76c72c3eed31ad3336e1970717 (patch) | |
tree | 6a5d8e9b13e265e66aea805840bbd05bbec063fa /init/calibrate.c | |
parent | 613be1f626e602c6744101a003e8fc5c180e1af9 (diff) | |
download | linux-27e9e0f12acb5a76c72c3eed31ad3336e1970717.tar.gz linux-27e9e0f12acb5a76c72c3eed31ad3336e1970717.tar.bz2 linux-27e9e0f12acb5a76c72c3eed31ad3336e1970717.zip |
[SCSI] remove a useless get/put_device pair in scsi_next_command
Eliminate a get_device() / put_device() pair from scsi_next_command().
Both are atomic operations hence removing these slightly improves
performance.
[hch: slight changes due to different context]
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions