From c3796b42cbab32741473eb26da4bb4384df05f83 Mon Sep 17 00:00:00 2001 From: zafer Date: Tue, 12 Jun 2018 20:12:21 +0000 Subject: [PATCH] Remove duplicate assignments. Fixes PR bin/51512 by Jose Luis Rodriguez Garcia --- sbin/fsck_lfs/lfs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sbin/fsck_lfs/lfs.c b/sbin/fsck_lfs/lfs.c index 686de4589e58..b52aca90f7e4 100644 --- a/sbin/fsck_lfs/lfs.c +++ b/sbin/fsck_lfs/lfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: lfs.c,v 1.73 2017/06/10 08:13:15 pgoyette Exp $ */ +/* $NetBSD: lfs.c,v 1.74 2018/06/12 20:12:21 zafer Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. * All rights reserved. @@ -363,9 +363,7 @@ lfs_raw_vget(struct lfs * fs, ino_t ino, int fd, daddr_t daddr) ip->inode_ext.lfs = ecalloc(1, sizeof(*ip->inode_ext.lfs)); vp->v_data = ip; /* ip->i_vnode = vp; */ - ip->i_number = ino; ip->i_lockf = 0; - ip->i_lfs_effnblks = 0; ip->i_state = 0; /* Load inode block and find inode */