staging: lustre: llite: don't clean in_data again
We have got a zero buffer for in_data as we use kzalloc here. So let's remove it anyway. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Acked-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
550982ccdb
commit
18c6e2d602
|
@ -3434,7 +3434,6 @@ void *ll_iocontrol_register(llioc_callback_t cb, int count, unsigned int *cmd)
|
|||
if (!in_data)
|
||||
return NULL;
|
||||
|
||||
memset(in_data, 0, sizeof(*in_data));
|
||||
in_data->iocd_size = size;
|
||||
in_data->iocd_cb = cb;
|
||||
in_data->iocd_count = count;
|
||||
|
|
Loading…
Reference in New Issue