commit | b3591f67b9f9607fea5d854f9d481f44696d8ddc | [log] [tgz] |
---|---|---|
author | Michal Nazarewicz <mina86@mina86.com> | Mon Jan 04 20:58:12 2016 +0100 |
committer | Felipe Balbi <balbi@kernel.org> | Fri Mar 04 15:14:32 2016 +0200 |
tree | 2ffd69f95f7805506c51935d6ddaf8923aeb3e6c | |
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>