From: Bart Van Assche Date: Thu, 20 Feb 2014 22:20:57 +0000 (-0800) Subject: [SCSI] remove a useless get/put_device pair in scsi_next_command X-Git-Tag: v3.15-rc1~136^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e9e0f12acb5a76c72c3eed31ad3336e1970717;p=pandora-kernel.git [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 Reviewed-by: Hannes Reinecke Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley --- Reading git-diff-tree failed