Skip to content

Commit

Permalink
[SCSI] megaraid_sas: Remove un-used function
Browse files Browse the repository at this point in the history
The following patch for megaraid_sas removes un-used function
megasas_return_cmd_for_smid().

Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
  • Loading branch information
adam radford authored and James Bottomley committed May 24, 2011
1 parent 3f1abce commit 70d031f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions drivers/scsi/megaraid/megaraid_sas_fusion.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,22 +695,6 @@ megasas_ioc_init_fusion(struct megasas_instance *instance)
return ret;
}

/*
* megasas_return_cmd_for_smid - Returns a cmd_fusion for a SMID
* @instance: Adapter soft state
*
*/
void
megasas_return_cmd_for_smid(struct megasas_instance *instance, u16 smid)
{
struct fusion_context *fusion;
struct megasas_cmd_fusion *cmd;

fusion = instance->ctrl_context;
cmd = fusion->cmd_list[smid - 1];
megasas_return_cmd_fusion(instance, cmd);
}

/*
* megasas_get_ld_map_info - Returns FW's ld_map structure
* @instance: Adapter soft state
Expand Down

0 comments on commit 70d031f

Please sign in to comment.