]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] ibmvscsi: remove unnecessary map_sg check
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 23 Jul 2007 00:28:39 +0000 (09:28 +0900)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 31 Jul 2007 15:31:55 +0000 (10:31 -0500)
commitbfc6c21e4751acbc54100d32061d60dd26d6bf93
tree07ad05b1c80db1b3bbb076d051c1d7dba58cd774
parent4e5861fcdf21e4a14286f0e1cab11f0ea2937266
[SCSI] ibmvscsi: remove unnecessary map_sg check

No need to check use_sg since sg_tablesize is set appropriately in the
scsi host template.

Brian King's patch (234ab3b6e891d0d58ce9be5ab98cbdd174092b5f) did this
cleanup but the data buffer accessors patch (written before the patch
and merged after it) restored the check.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ibmvscsi/ibmvscsi.c