usb: cdns3: gadget: Remove unneeded variable ret
authorXu Wang <vulab@iscas.ac.cn>
Fri, 20 Dec 2019 07:19:38 +0000 (07:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Dec 2019 19:11:30 +0000 (20:11 +0100)
commit8e1a20096bfbc1fc05f68abcb8cf20fc07dca8a1
treeb0c7c95030deb115f688f16e52cade5ee10b6dae
parent7b104f890adea9b7ec554a491ac4d89a0a57ce96
usb: cdns3: gadget: Remove unneeded variable ret

Remove unneeded variable ret used to store return value,just return 0.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Acked-by: Roger Quadros <rogerq@ti.com>
Link: https://lore.kernel.org/r/1576826378-4387-1-git-send-email-vulab@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/cdns3/gadget.c