mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 22:56:32 +00:00
Cleanup mgmt parameters initialization.
It's better to do it via a single function. Patch from Alexey Obitotskiy <alexeyo1@open-e.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4165 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+2
-1
@@ -505,7 +505,8 @@ static void ft_recv_tm(struct scst_session *scst_sess,
|
||||
struct scst_rx_mgmt_params params;
|
||||
int ret;
|
||||
|
||||
memset(¶ms, 0, sizeof(params));
|
||||
scst_rx_mgmt_params_init(¶ms);
|
||||
|
||||
params.lun = fcp->fc_lun;
|
||||
params.lun_len = sizeof(fcp->fc_lun);
|
||||
params.lun_set = 1;
|
||||
|
||||
Reference in New Issue
Block a user