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)
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>

No differences found