[libata] avoid needlessly passing around ptr to SCSI completion func
authorJeff Garzik <jeff@garzik.org>
Thu, 18 Nov 2010 03:56:48 +0000 (22:56 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 6 Jan 2011 00:43:22 +0000 (19:43 -0500)
commitb27dcfb0670ea7352a67137f4ff7947c2a9f6892
treecd48976174179304780651fa4e75bd5d1ffd1522
parent02cdfcf043c5c6ebcbbaba1c35130b5fbcb10867
[libata] avoid needlessly passing around ptr to SCSI completion func

It's stored in struct scsi_cmnd->scsi_done, making several 'done'
parameters to functions redundant.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-scsi.c
drivers/scsi/ipr.c
drivers/scsi/libsas/sas_scsi_host.c
include/linux/libata.h