[SCSI] remove scsi_req_map_sg
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sat, 13 Dec 2008 16:23:45 +0000 (01:23 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:10 +0000 (12:58 -0500)
commitf078727b250c2653fc9a564f15547c17ebac3f99
tree60cbd84965cbebc6a2898aa7664c25977d128b46
parent26243043f207b3faa00594a33e10b2103205f27b
[SCSI] remove scsi_req_map_sg

No one uses scsi_execute_async with data transfer now. We can remove
scsi_req_map_sg.

Only scsi_eh_lock_door uses scsi_execute_async. scsi_eh_lock_door
doesn't handle sense and the callback. So we can remove
scsi_io_context too.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_error.c
drivers/scsi/scsi_lib.c
include/scsi/scsi_device.h