From: Malcolm Priestley Date: Sat, 12 Sep 2015 18:10:32 +0000 (+0100) Subject: staging: vt6655: vt6655_init_info remove memset. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e577474f3b55ef368090ec7f29543fb8b5a712be;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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));