diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-11-04 22:02:46 +0100 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-12-11 12:36:52 +0200 |
commit | 3700df921401b336bc03043c7d49c32bc2419b13 (patch) | |
tree | 90188dc776e88e5def2cba0d787018023f4561d3 /lib/timerqueue.c | |
parent | 71a9fda36829273eac4770dd539c80303969c5d8 (diff) |
usb: gadget: bcm63xx_udc: Use common error handling code in bcm63xx_udc_probe()
Add a jump target so that a specific error message is stored only once
at the end of this function implementation.
Replace two calls of the function "dev_err" by goto statements.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions