[PATCH 2/2] ocfs2: remove unneeded 'rc' for kfree()

2015-02-16 Thread Daeseok Youn
If kzalloc() is failed, just goto 'out' label and 'out_free' label doesn't need to check 'rc' variable. Signed-off-by: Daeseok Youn --- fs/ocfs2/stack_o2cb.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2/stack_o2cb.c index

[PATCH 2/2] ocfs2: remove unneeded 'rc' for kfree()

2015-02-16 Thread Daeseok Youn
If kzalloc() is failed, just goto 'out' label and 'out_free' label doesn't need to check 'rc' variable. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/stack_o2cb.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/ocfs2/stack_o2cb.c