mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 08:45:26 -05:00
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: Liao Yuanhong <liaoyuanhong@vivo.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
This commit is contained in:
committed by
Dave Kleikamp
parent
69f7321ce7
commit
e551cc21bb
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user