- Properly clean state structure in cvmx_usb_initialize

This commit is contained in:
gonzo 2011-12-31 05:25:42 +00:00
parent 46d20b90bd
commit 9f57ade316

View File

@ -654,7 +654,7 @@ cvmx_usb_status_t cvmx_usb_initialize(cvmx_usb_state_t *state,
}
}
memset(usb, 0, sizeof(usb));
memset(usb, 0, sizeof(*usb));
usb->init_flags = flags;
/* Initialize the USB state structure */