From: Robert P. J. Day Date: Mon, 28 Apr 2008 09:14:40 +0000 (-0700) Subject: isdn: fix obvious cut-and-paste error in st5481_usb.c X-Git-Tag: upstream/snapshot3+hdmi~26021 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3429545d03a553c6a3e9fcf60ddea31819848ad;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git isdn: fix obvious cut-and-paste error in st5481_usb.c Fix a rather obvious cut-and-paste error, where earlier code for the controller URB got somehow mixed in with code for the interrupt URB. Signed-off-by: Robert P. J. Day Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/isdn/hisax/st5481_usb.c b/drivers/isdn/hisax/st5481_usb.c index 4ada66b..427a8b0 100644 --- a/drivers/isdn/hisax/st5481_usb.c +++ b/drivers/isdn/hisax/st5481_usb.c @@ -342,7 +342,7 @@ void st5481_release_usb(struct st5481_adapter *adapter) usb_kill_urb(intr->urb); kfree(intr->urb->transfer_buffer); usb_free_urb(intr->urb); - ctrl->urb = NULL; + intr->urb = NULL; } /*