]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: gadget: udc: fix free_irq() after request_irq() failed
authorTakeshi Yoshimura <yos@sslab.ics.keio.ac.jp>
Sun, 14 Jun 2015 07:09:23 +0000 (16:09 +0900)
committerFelipe Balbi <balbi@ti.com>
Mon, 6 Jul 2015 17:34:08 +0000 (12:34 -0500)
commit2184fe636b4e310cba52251971cee82cb2407a68
tree79af9089a476d3cdc80507545f629837c665c1eb
parentb4c21f0bdd2c0cd5d5be1bb56f0a28dae5041eed
usb: gadget: udc: fix free_irq() after request_irq() failed

My static checker detected the mistake. I fix this by changing "goto
err_irq" to "goto err_req". The label err_irq is not used now
so this patch also removes it.

Signed-off-by: Takeshi Yoshimura <yos@sslab.ics.keio.ac.jp>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/fotg210-udc.c