diff options
| author | Michal Nazarewicz <mina86@mina86.com> | 2016-01-04 20:58:12 +0100 |
|---|---|---|
| committer | Felipe Balbi <balbi@kernel.org> | 2016-03-04 15:14:32 +0200 |
| commit | b3591f67b9f9607fea5d854f9d481f44696d8ddc (patch) | |
| tree | 2ffd69f95f7805506c51935d6ddaf8923aeb3e6c /tools/perf/scripts/python | |
| parent | usb: f_fs: fix ffs_epfile_io returning success on req alloc failure (diff) | |
| download | linux-b3591f67b9f9607fea5d854f9d481f44696d8ddc.tar.gz linux-b3591f67b9f9607fea5d854f9d481f44696d8ddc.zip | |
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 <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
