From: FUJITA Tomonori Date: Sat, 11 Oct 2008 07:00:00 +0000 (+0900) Subject: [SCSI] 3w-9xxx: remove unnecessary local_irq_save/restore for scsi sg copy API X-Git-Tag: v2.6.28-rc1~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36a529202b334d0513cfeabeadca940ec41c8165;p=pandora-kernel.git [SCSI] 3w-9xxx: remove unnecessary local_irq_save/restore for scsi sg copy API Since the commit 50bed2e2862a8f3a4f7d683d0d27292e71ef18b9 (sg: disable interrupts inside sg_copy_buffer), no need to disable interrupts before calling scsi_sg_copy_from_buffer. So we can simplify twa_scsiop_execute_scsi_complete() a bit, which disables interrupts just for scsi_sg_copy_from_buffer. Signed-off-by: FUJITA Tomonori Acked-by: Adam Radford Signed-off-by: James Bottomley --- Reading git-diff-tree failed