]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] scsi_debug: remove the duplicated code in resp_read and resp_write
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sat, 29 Mar 2008 15:59:56 +0000 (00:59 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:19:06 +0000 (12:19 -0500)
commit8bca9e33b6fc778d4c9cdc28e769f1316931c8ce
tree36552831d70b3faac0ed33075d9e0149060bf7f9
parent8cc862b8e52193ce48a9f4e7dd5cc041efe0ebc6
[SCSI] scsi_debug: remove the duplicated code in resp_read and resp_write

resp_read and resp_write performs READ_* and WRITE_* commands
respectively. This sweeps up the similar code in them.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_debug.c