]> err.no Git - linux-2.6/commit
[SCSI] qla2xxx: Remove redundant call to pci_unmap_sg().
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Sat, 27 Aug 2005 02:09:20 +0000 (19:09 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Mon, 5 Sep 2005 00:53:28 +0000 (19:53 -0500)
commit131736d34ebc3251d79ddfd08a5e57a3e86decd4
treeb05ad75c24e50a3a177dd988814430e454615682
parentc32c4cb9fbe3bdc2a90c6eaae5ae30521d4ba9fc
[SCSI] qla2xxx: Remove redundant call to pci_unmap_sg().

In a corner-case failure where the request-q does not
contain enough entries for a given request, pci_unmap_sg()
would be called twice.  Remove direct call and let the
failure-path logic handle the unmapping.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_iocb.c