mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 08:22:39 +00:00
[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: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <jbottomley@parallels.com>
This commit is contained in:
parent
3f1abce4ab
commit
70d031f36f
@ -695,22 +695,6 @@ fail_get_cmd:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user