commit | 434678685407e045ffb246df059c486fc0a16e75 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Fri Sep 24 13:44:12 2010 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 22 10:21:55 2010 -0700 |
tree | f7b76883c3dfe7ce564cd6bffd64d0d1dad27229 | |
parent | 2f8d5cd6bcf814411ec356bcdbc666d07bbc6026 [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>