From e577474f3b55ef368090ec7f29543fb8b5a712be Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sat, 12 Sep 2015 19:10:32 +0100 Subject: [PATCH] staging: vt6655: vt6655_init_info remove memset. vnt_private is allocated with kzalloc so is already zero. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/device_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index fcc4510f81b3..03cc52e3c0d3 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -439,8 +439,6 @@ static void device_print_info(struct vnt_private *pDevice) static void vt6655_init_info(struct pci_dev *pcid, struct vnt_private **ppDevice) { - memset(*ppDevice, 0, sizeof(**ppDevice)); - (*ppDevice)->pcid = pcid; spin_lock_init(&((*ppDevice)->lock)); -- 2.30.2