usb: gadget: ci13xxx: fix ep list removal in gadget unregistering code
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 4 May 2012 13:47:14 +0000 (16:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2012 16:27:56 +0000 (09:27 -0700)
commitefa015bbc410198a192cd3e504ce24104e8c8852
treea40fff67c677ec7bf7fe600fca7f47bb37e5ca76
parentab59ac0155ebe16d563b68d63ceb2e2d0747180f
usb: gadget: ci13xxx: fix ep list removal in gadget unregistering code

Since ep0{out,in} are never on gadget's ep_list, there's no need to try
to unlink them, even more so because ep_list linkage is not initialized
for these endpoints.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/ci13xxx_udc.c