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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);