vnt_private is allocated with kzalloc so is already zero. Signed-off-by: Malcolm Priestley <tvboxspy@xxxxxxxxx> --- 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 fcc4510..03cc52e 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.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html