From: Rupesh Gujare Date: Fri, 23 Aug 2013 15:11:00 +0000 (+0100) Subject: staging: ozwpan: Remove memset X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9efed32c223a0dabebeeeca7c1b3cdafb97fbde4;p=linux-beck.git 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 --- 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);