CDC/ACM: Part of previous change was incorret.

This commit is contained in:
Gregory Nutt 2017-07-19 09:11:13 -06:00
parent 940b78cac2
commit 951017da55

View File

@ -2378,12 +2378,10 @@ int cdcacm_classobject(int minor, FAR struct usbdev_description_s *devdesc,
priv->minor = minor;
#ifdef CONFIG_CDCACM_COMPOSITE
/* Save the caller provided device description (composite only) */
memcpy(&priv->devdesc, devdesc,
sizeof(struct usbdev_description_s));
#endif
/* Fake line status */