diff options
| author | Tiezhu Yang <kernelpatch@126.com> | 2016-06-28 07:27:59 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:33:49 +0200 |
| commit | 839a5633fe6f262a4c378e4e533bbdd5dcc5c839 (patch) | |
| tree | fe0ca6e90a8f180ffffb409822756ff8d09804c6 /fs/f2fs/node.c | |
| parent | 69a611a90ac19e929c2bc9285c59342daf4d4051 (diff) | |
f2fs: remove unnecessary goto statement
When base_addr is NULL, there is no need to call kzfree,
it should return -ENOMEM directly. Additionally, it is
better to initialize variable 'error' with 0.
Signed-off-by: Tiezhu Yang <kernelpatch@126.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
0 files changed, 0 insertions, 0 deletions
