summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2010-09-24 13:44:12 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:21:55 -0700
commit434678685407e045ffb246df059c486fc0a16e75 (patch)
treef7b76883c3dfe7ce564cd6bffd64d0d1dad27229 /lib
parent2f8d5cd6bcf814411ec356bcdbc666d07bbc6026 (diff)
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 <sshtylyov@ru.mvista.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions