]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] 3w-9xxx: remove unnecessary local_irq_save/restore for scsi sg copy API
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sat, 11 Oct 2008 07:00:00 +0000 (16:00 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 23 Oct 2008 16:42:18 +0000 (11:42 -0500)
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 <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Adam Radford <linuxraid@amcc.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found