From 27e9e0f12acb5a76c72c3eed31ad3336e1970717 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 20 Feb 2014 14:20:57 -0800 Subject: [PATCH] [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-format-patch failed