From 9efed32c223a0dabebeeeca7c1b3cdafb97fbde4 Mon Sep 17 00:00:00 2001 From: Rupesh Gujare Date: Fri, 23 Aug 2013 16:11:00 +0100 Subject: [PATCH] staging: ozwpan: Remove memset As we are initialising structure, we do not require memset(). Signed-off-by: Rupesh Gujare Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ozwpan/ozpd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ozwpan/ozpd.c b/drivers/staging/ozwpan/ozpd.c index 06004c8b85fe..5d24af3b4cd7 100644 --- a/drivers/staging/ozwpan/ozpd.c +++ b/drivers/staging/ozwpan/ozpd.c @@ -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); -- 2.30.2