From: Sergei Shtylyov Date: Fri, 24 Sep 2010 10:44:12 +0000 (+0300) Subject: usb: musb: gadget: kill unreachable code in musb_g_rx() X-Git-Tag: v2.6.37-rc1~154^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=434678685407e045ffb246df059c486fc0a16e75;p=pandora-kernel.git usb: musb: gadget: kill unreachable code in musb_g_rx() musb_g_rx() always returns if next_request() call yields NULL, so the DBG() near the function's end can never be invoked. Remove it along with unneeded 'return'; also remove the duplicate 'request' check... Signed-off-by: Sergei Shtylyov Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed