scsi: megaraid: Remove redundant code in megasas_alloc_cmds
megasas_alloc_cmds is to alloc cmd_list of instance instead of fusion, and fusion is useless in this function. Just remove it. Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> Acked-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Родитель
ad95028a2e
Коммит
ca6958b4da
|
@ -4079,9 +4079,7 @@ int megasas_alloc_cmds(struct megasas_instance *instance)
|
|||
int j;
|
||||
u16 max_cmd;
|
||||
struct megasas_cmd *cmd;
|
||||
struct fusion_context *fusion;
|
||||
|
||||
fusion = instance->ctrl_context;
|
||||
max_cmd = instance->max_mfi_cmds;
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче