提交 70d031f3 编写于 作者: A adam radford 提交者: James Bottomley

[SCSI] megaraid_sas: Remove un-used function

The following patch for megaraid_sas removes un-used function
megasas_return_cmd_for_smid().
Signed-off-by: NAdam Radford <aradford@gmail.com>
Signed-off-by: NJames Bottomley <jbottomley@parallels.com>
上级 3f1abce4
...@@ -695,22 +695,6 @@ megasas_ioc_init_fusion(struct megasas_instance *instance) ...@@ -695,22 +695,6 @@ megasas_ioc_init_fusion(struct megasas_instance *instance)
return ret; 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 * megasas_get_ld_map_info - Returns FW's ld_map structure
* @instance: Adapter soft state * @instance: Adapter soft state
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册