summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function
diff options
context:
space:
mode:
authorHariprasad Kelam <hariprasad.kelam@gmail.com>2019-06-05 17:34:25 +0530
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-06-18 11:58:29 +0300
commit48f5e7493a6a0ac2cf6cf41835495a1f67f4a57c (patch)
tree73e5e67c13b5acc446ce6875debb0c726e4b86f0 /drivers/usb/gadget/function
parent811e5c3d3c4adf0b037fab3417395d3060a4492a (diff)
downloadlinux-48f5e7493a6a0ac2cf6cf41835495a1f67f4a57c.tar.gz
linux-48f5e7493a6a0ac2cf6cf41835495a1f67f4a57c.tar.bz2
linux-48f5e7493a6a0ac2cf6cf41835495a1f67f4a57c.zip
USB: omap_udc: Remove unneeded variable
With the current implementation omap_udc_stop is always returning -ENODEV. Added changes to return 0 and remove variable status. Issue identified with coccicheck drivers/usb/gadget/udc/omap_udc.c:2106:6-12: Unneeded variable: "status". Return "- ENODEV" on line 2128 Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/function')
0 files changed, 0 insertions, 0 deletions