]> git.hungrycats.org Git - linux/commitdiff
USB se401, remove urb->next usage
authorGreg Kroah-Hartman <greg@kroah.com>
Wed, 22 May 2002 06:49:48 +0000 (23:49 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 22 May 2002 06:49:48 +0000 (23:49 -0700)
Removed the use of the next field due to the change in the urb structure.

drivers/usb/media/se401.c

index 158e8186f0058e8c6ba2a4a974021b14ef2a1dec..042e7ebd144bbbb4aefc9c56d8c9a1e443980f82 100644 (file)
@@ -632,7 +632,6 @@ static int se401_stop_stream(struct usb_se401 *se401)
        se401_sndctrl(1, se401, SE401_REQ_CAMERA_POWER, 0, NULL, 0);
 
        for (i=0; i<SE401_NUMSBUF; i++) if (se401->urb[i]) {
-               se401->urb[i]->next=NULL;
                usb_unlink_urb(se401->urb[i]);
                usb_free_urb(se401->urb[i]);
                se401->urb[i]=NULL;
@@ -1506,7 +1505,6 @@ static inline void usb_se401_remove_disconnected (struct usb_se401 *se401)
        wake_up_interruptible(&se401->wq);
 
        for (i=0; i<SE401_NUMSBUF; i++) if (se401->urb[i]) {
-               se401->urb[i]->next = NULL;
                usb_unlink_urb(se401->urb[i]);
                usb_free_urb(se401->urb[i]);
                se401->urb[i] = NULL;