diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-09-25 12:42:02 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:52:00 -0400 |
commit | 1d0c7c8dcf289557f13b6b0f6d71b6a03b12b747 (patch) | |
tree | e7a313edb607ec39ac1ce80664d4986305a7f745 /drivers/scsi | |
parent | 311b581e1d87be87f78e6e17fc50f468f2dec561 (diff) | |
download | op-kernel-dev-1d0c7c8dcf289557f13b6b0f6d71b6a03b12b747.zip op-kernel-dev-1d0c7c8dcf289557f13b6b0f6d71b6a03b12b747.tar.gz |
[SCSI] pluto: Don't abuse ->done for internal commands
We can simply call the internal done function directly
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/pluto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/pluto.c b/drivers/scsi/pluto.c index e221389..0363c1c 100644 --- a/drivers/scsi/pluto.c +++ b/drivers/scsi/pluto.c @@ -160,7 +160,6 @@ int __init pluto_detect(struct scsi_host_template *tpnt) SCpnt->request->cmd_flags &= ~REQ_STARTED; - SCpnt->done = pluto_detect_done; SCpnt->request_bufflen = 256; SCpnt->request_buffer = fcs[i].inquiry; PLD(("set up %d %08lx\n", i, (long)SCpnt)) @@ -195,7 +194,7 @@ int __init pluto_detect(struct scsi_host_template *tpnt) SCpnt = &(fcs[i].cmd); /* Let FC mid-level free allocated resources */ - SCpnt->done (SCpnt); + pluto_detect_scsi_done(SCpnt); if (!SCpnt->result) { struct pluto_inquiry *inq; |