usb: dwc3: gadget: correct return from ep_queue
authorPratyush Anand <pratyush.anand@st.com>
Mon, 14 Jan 2013 10:29:33 +0000 (15:59 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 18 Jan 2013 12:28:36 +0000 (14:28 +0200)
commit15f86bde29f0fdfb877d9c753547fa2e2f5ef1fe
tree7708fd09156f64618bc33a4a8ab1cf9d77091cbb
parent7efea86c2868b8fd9df65e589e33aebe498ce21d
usb: dwc3: gadget: correct return from ep_queue

Its better to return from each if condition as they are mutually
exclusive.

Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c