scsi: remove unused free discard page in sd_done
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 1 Jul 2010 10:49:19 +0000 (19:49 +0900)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:23:51 +0000 (18:23 +0200)
commit802447c1c0513a0ea0e29d6bda23b19ac0686654
tree9504fcb73862dc97534d0300f8adb87c0c65d002
parentf1126e950d28ff875d96ed6a04a9ff96c7bfc357
scsi: remove unused free discard page in sd_done

- sd_done isn't called for pc request so we never call the code.
- we use sd_unprep to free discard page now.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/scsi/sd.c