diff options
author | Wenchao Hao | 2022-03-17 11:01:16 -0400 |
---|---|---|
committer | Martin K. Petersen | 2022-03-29 23:01:28 -0400 |
commit | ebfe3e0c5e805da3dd692bb120cd6269b7c19b80 (patch) | |
tree | 42461c6a88eea4ebd3e13f4b99d0ddec169a3d92 /drivers/target | |
parent | 87d663d40801dffc99a5ad3b0188ad3e2b4d1557 (diff) |
scsi: libiscsi: Remove unnecessary memset() in iscsi_conn_setup()
iscsi_cls_conn is alloced by kzalloc(), the whole iscsi_cls_conn is zero
filled already including the dd_data. So it is unnecessary to call memset
again.
Link: https://lore.kernel.org/r/20220317150116.194140-1-haowenchao@huawei.com
Reviewed-by: Wu Bo <wubo40@huawei.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions