diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2012-05-01 11:42:46 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-10 09:13:55 +0100 |
commit | 5a3d16f51ef62bf17c9752c469db881dd12bce9b (patch) | |
tree | af69e92d449c45b457d42f56c4bb20f8571c2722 /drivers/scsi/hpsa.c | |
parent | 9c2fc1605fb917531f7dfb6fa2e84b56332a05b4 (diff) | |
download | linux-3.10-5a3d16f51ef62bf17c9752c469db881dd12bce9b.tar.gz linux-3.10-5a3d16f51ef62bf17c9752c469db881dd12bce9b.tar.bz2 linux-3.10-5a3d16f51ef62bf17c9752c469db881dd12bce9b.zip |
[SCSI] hpsa: remove unused parameter from finish_cmd
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index fd4b683d69e..1ceea8a42ee 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -3063,7 +3063,7 @@ static inline int bad_tag(struct ctlr_info *h, u32 tag_index, return 0; } -static inline void finish_cmd(struct CommandList *c, u32 raw_tag) +static inline void finish_cmd(struct CommandList *c) { removeQ(c); if (likely(c->cmd_type == CMD_SCSI)) @@ -3103,7 +3103,7 @@ static inline u32 process_indexed_cmd(struct ctlr_info *h, if (bad_tag(h, tag_index, raw_tag)) return next_command(h); c = h->cmd_pool + tag_index; - finish_cmd(c, raw_tag); + finish_cmd(c); return next_command(h); } @@ -3117,7 +3117,7 @@ static inline u32 process_nonindexed_cmd(struct ctlr_info *h, tag = hpsa_tag_discard_error_bits(h, raw_tag); list_for_each_entry(c, &h->cmpQ, list) { if ((c->busaddr & 0xFFFFFFE0) == (tag & 0xFFFFFFE0)) { - finish_cmd(c, raw_tag); + finish_cmd(c); return next_command(h); } } @@ -4167,7 +4167,7 @@ static void fail_all_cmds_on_list(struct ctlr_info *h, struct list_head *list) while (!list_empty(list)) { c = list_entry(list->next, struct CommandList, list); c->err_info->CommandStatus = CMD_HARDWARE_ERR; - finish_cmd(c, c->Header.Tag.lower); + finish_cmd(c); } } |