staging: ozwpan: Remove memset
As we are initialising structure, we do not require memset(). Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ec37d8b67b
commit
9efed32c22
|
@ -268,7 +268,6 @@ void oz_pd_destroy(struct oz_pd *pd)
|
|||
if (hrtimer_active(&pd->heartbeat))
|
||||
hrtimer_cancel(&pd->heartbeat);
|
||||
|
||||
memset(&pd->workitem, 0, sizeof(pd->workitem));
|
||||
INIT_WORK(&pd->workitem, oz_pd_free);
|
||||
ret = schedule_work(&pd->workitem);
|
||||
|
||||
|
|
Loading…
Reference in New Issue