Commit e551cc21 authored by Liao Yuanhong's avatar Liao Yuanhong Committed by Dave Kleikamp
Browse files

JFS: Remove redundant 0 value initialization



The jfs_log struct is already zeroed by kzalloc(). It's redundant to
initialize dummy_log->base to 0.

Signed-off-by: default avatarLiao Yuanhong <liaoyuanhong@vivo.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
parent 69f7321c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1199,7 +1199,6 @@ static int open_dummy_log(struct super_block *sb)
		init_waitqueue_head(&dummy_log->syncwait);
		dummy_log->no_integrity = 1;
		/* Make up some stuff */
		dummy_log->base = 0;
		dummy_log->size = 1024;
		rc = lmLogInit(dummy_log);
		if (rc) {