aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2012-05-01 12:42:46 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-05-10 04:13:55 -0400
commit5a3d16f51ef62bf17c9752c469db881dd12bce9b (patch)
treeaf69e92d449c45b457d42f56c4bb20f8571c2722 /drivers/scsi/hpsa.c
parent9c2fc1605fb917531f7dfb6fa2e84b56332a05b4 (diff)
[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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index fd4b683d69e5..1ceea8a42ee7 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,
3063 return 0; 3063 return 0;
3064} 3064}
3065 3065
3066static inline void finish_cmd(struct CommandList *c, u32 raw_tag) 3066static inline void finish_cmd(struct CommandList *c)
3067{ 3067{
3068 removeQ(c); 3068 removeQ(c);
3069 if (likely(c->cmd_type == CMD_SCSI)) 3069 if (likely(c->cmd_type == CMD_SCSI))
@@ -3103,7 +3103,7 @@ static inline u32 process_indexed_cmd(struct ctlr_info *h,
3103 if (bad_tag(h, tag_index, raw_tag)) 3103 if (bad_tag(h, tag_index, raw_tag))
3104 return next_command(h); 3104 return next_command(h);
3105 c = h->cmd_pool + tag_index; 3105 c = h->cmd_pool + tag_index;
3106 finish_cmd(c, raw_tag); 3106 finish_cmd(c);
3107 return next_command(h); 3107 return next_command(h);
3108} 3108}
3109 3109
@@ -3117,7 +3117,7 @@ static inline u32 process_nonindexed_cmd(struct ctlr_info *h,
3117 tag = hpsa_tag_discard_error_bits(h, raw_tag); 3117 tag = hpsa_tag_discard_error_bits(h, raw_tag);
3118 list_for_each_entry(c, &h->cmpQ, list) { 3118 list_for_each_entry(c, &h->cmpQ, list) {
3119 if ((c->busaddr & 0xFFFFFFE0) == (tag & 0xFFFFFFE0)) { 3119 if ((c->busaddr & 0xFFFFFFE0) == (tag & 0xFFFFFFE0)) {
3120 finish_cmd(c, raw_tag); 3120 finish_cmd(c);
3121 return next_command(h); 3121 return next_command(h);
3122 } 3122 }
3123 } 3123 }
@@ -4167,7 +4167,7 @@ static void fail_all_cmds_on_list(struct ctlr_info *h, struct list_head *list)
4167 while (!list_empty(list)) { 4167 while (!list_empty(list)) {
4168 c = list_entry(list->next, struct CommandList, list); 4168 c = list_entry(list->next, struct CommandList, list);
4169 c->err_info->CommandStatus = CMD_HARDWARE_ERR; 4169 c->err_info->CommandStatus = CMD_HARDWARE_ERR;
4170 finish_cmd(c, c->Header.Tag.lower); 4170 finish_cmd(c);
4171 } 4171 }
4172} 4172}
4173 4173