staging: vt6655: vt6655_init_info remove memset.

vnt_private is allocated with kzalloc so is already zero.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2015-09-12 19:10:32 +01:00 committed by Greg Kroah-Hartman
parent 73eb8a1127
commit e577474f3b
1 changed files with 0 additions and 2 deletions

View File

@ -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));