2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00

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:
Rupesh Gujare 2013-08-23 16:11:00 +01:00 committed by Greg Kroah-Hartman
parent ec37d8b67b
commit 9efed32c22

View File

@ -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);