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 /net/lapb/lapb_timer.c | |
| parent | 3163c79efa653ea9832acb8efe55efd34a5f4ae6 (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 <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
