Commit 9efed32c authored by Rupesh Gujare's avatar Rupesh Gujare Committed by Greg Kroah-Hartman

staging: ozwpan: Remove memset

As we are initialising structure, we do not require
memset().
Signed-off-by: default avatarRupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ec37d8b6
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment