diff options
author | 2019-06-05 19:42:53 +0530 | |
---|---|---|
committer | 2019-06-18 11:58:29 +0300 | |
commit | 67929a7ded5263106931521c3455e3250f0a26ff (patch) | |
tree | eaede0b33dad50b562c804e46d3e769ce4e67799 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: gadget: udc: renesas_usb3: Enhance role switch support (diff) | |
download | wireguard-linux-67929a7ded5263106931521c3455e3250f0a26ff.tar.xz wireguard-linux-67929a7ded5263106931521c3455e3250f0a26ff.zip |
usb: gadget: at91_udc: Remove unneeded variable
at91_wakeup is always returning -EINVAL.
But usb_gadget_wakeup expects 0 on success and negative number on
failure. As per current implementation this function wont fail.
This patch removes unneeded variable and returns 0.
Issue identified by coccicheck
drivers/usb/gadget/udc/at91_udc.c:802:6-12:
Unneeded variable: "status". Return "- EINVAL" on line 821
Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions