f2fs: remove unneeded initialization
authorNamjae Jeon <namjae.jeon@samsung.com>
Sat, 1 Dec 2012 01:56:13 +0000 (10:56 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 11 Dec 2012 04:43:44 +0000 (13:43 +0900)
No need to initialize  "struct f2fs_gc_kthread *gc_th = NULL",
as gc_th = NULL, will be taken care by the return values of kmalloc().
And fix codes in other places.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
fs/f2fs/gc.c
fs/f2fs/segment.c

diff --cc fs/f2fs/gc.c
Simple merge
Simple merge