diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2011-05-03 15:59:00 -0400 |
---|---|---|
committer | James Bottomley <jbottomley@parallels.com> | 2011-05-17 03:03:14 -0400 |
commit | 1fb011fb05b6bac4fb8eabd324a6983116f7594d (patch) | |
tree | 713751905099295cafd2f576cfde38e06d16e6c8 /drivers/scsi/hpsa.c | |
parent | 8cd21da71c952843f9cc215436286cf7f991cc6e (diff) |
[SCSI] hpsa: remove unused parameter from hpsa_complete_scsi_command()
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 415ad4fb50d4..82668505ccbb 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -1006,8 +1006,7 @@ static void hpsa_unmap_sg_chain_block(struct ctlr_info *h, | |||
1006 | pci_unmap_single(h->pdev, temp64.val, chain_sg->Len, PCI_DMA_TODEVICE); | 1006 | pci_unmap_single(h->pdev, temp64.val, chain_sg->Len, PCI_DMA_TODEVICE); |
1007 | } | 1007 | } |
1008 | 1008 | ||
1009 | static void complete_scsi_command(struct CommandList *cp, | 1009 | static void complete_scsi_command(struct CommandList *cp) |
1010 | int timeout, u32 tag) | ||
1011 | { | 1010 | { |
1012 | struct scsi_cmnd *cmd; | 1011 | struct scsi_cmnd *cmd; |
1013 | struct ctlr_info *h; | 1012 | struct ctlr_info *h; |
@@ -2936,7 +2935,7 @@ static inline void finish_cmd(struct CommandList *c, u32 raw_tag) | |||
2936 | { | 2935 | { |
2937 | removeQ(c); | 2936 | removeQ(c); |
2938 | if (likely(c->cmd_type == CMD_SCSI)) | 2937 | if (likely(c->cmd_type == CMD_SCSI)) |
2939 | complete_scsi_command(c, 0, raw_tag); | 2938 | complete_scsi_command(c); |
2940 | else if (c->cmd_type == CMD_IOCTL_PEND) | 2939 | else if (c->cmd_type == CMD_IOCTL_PEND) |
2941 | complete(c->waiting); | 2940 | complete(c->waiting); |
2942 | } | 2941 | } |