aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <[email protected]>2016-01-04 20:58:12 +0100
committerFelipe Balbi <[email protected]>2016-03-04 15:14:32 +0200
commitb3591f67b9f9607fea5d854f9d481f44696d8ddc (patch)
tree2ffd69f95f7805506c51935d6ddaf8923aeb3e6c /tools/perf/util/scripting-engines/trace-event-python.c
parent3163c79efa653ea9832acb8efe55efd34a5f4ae6 (diff)
usb: f_fs: replace unnecessary goto with a return
In ffs_epfile_io error label points to a return path which includes a kfree(data) call. However, at the beginning of the function data is always NULL so some of the early ‘goto error’ can safely be replaced with a trivial return statement. Signed-off-by: Michal Nazarewicz <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions