]> git.hungrycats.org Git - linux/commitdiff
[PATCH] USB: fix cdc-acm warnings due to previous patch
authorGreg Kroah-Hartman <greg@kroah.com>
Thu, 22 Apr 2004 06:32:53 +0000 (23:32 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 22 Apr 2004 06:32:53 +0000 (23:32 -0700)
drivers/usb/class/cdc-acm.c

index a66740ef24d5a11f9648dd95be7ec7e0c7026711..441817076a73be714a8e7269ee732862d0606e35 100644 (file)
@@ -573,9 +573,11 @@ static int acm_probe (struct usb_interface *intf,
        struct usb_device *dev;
        struct acm *acm;
        struct usb_host_config *cfacm;
-       struct usb_interface *data;
-       struct usb_host_interface *ifcom, *ifdata;
-       struct usb_endpoint_descriptor *epctrl, *epread, *epwrite;
+       struct usb_interface *data = NULL;
+       struct usb_host_interface *ifcom, *ifdata = NULL;
+       struct usb_endpoint_descriptor *epctrl = NULL;
+       struct usb_endpoint_descriptor *epread = NULL;
+       struct usb_endpoint_descriptor *epwrite = NULL;
        int readsize, ctrlsize, minor, j;
        unsigned char *buf;