Commit ad40d51
scsi: megaraid_sas: Remove unnecessary memset()
Remove memset() of pd_list and ld_ids in megasas_get_device_list().
These lists will be cleared by megasas_host_device_list_query(),
megasas_get_pd_list(), and megasas_ld_list_query().
Link: https://lore.kernel.org/r/1663145283-4872-5-git-send-email-kanie@linux.alibaba.com
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 17883cd commit ad40d51
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5876 | 5876 | | |
5877 | 5877 | | |
5878 | 5878 | | |
5879 | | - | |
5880 | | - | |
5881 | | - | |
5882 | | - | |
5883 | 5879 | | |
5884 | 5880 | | |
5885 | 5881 | | |
| |||
0 commit comments