]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] 3w-xxxx: remove unnecessary local_irq_save/restore for scsi sg copy API
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 9 Oct 2008 02:25:42 +0000 (11:25 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 23 Oct 2008 16:42:17 +0000 (11:42 -0500)
commit02a2e57401b9c1ac1c189ca1e85db48e8e2567c4
treec23f3a89ce9bce704d05a6c84911f1ac1c99c4fb
parentf90f1b64679a46308b75b978d43f31ff6232957d
[SCSI] 3w-xxxx: remove unnecessary local_irq_save/restore for scsi sg copy API

Since the commit 8f33f4f3eee287ef65338e584df55d24525e104d (sg: disable
interrupts inside sg_copy_buffer), no need to disable interrupts
before calling scsi_sg_copy_from_buffer. So we can simplify
tw_transfer_internal, 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>
drivers/scsi/3w-xxxx.c