svn commit: r327110 - head/sys/ufs/ffs
Alexander Kabaev
kan at FreeBSD.org
Sat Dec 23 16:24:03 UTC 2017
Author: kan
Date: Sat Dec 23 16:24:02 2017
New Revision: 327110
URL: https://svnweb.freebsd.org/changeset/base/327110
Log:
Remove dead initialization of the inode pointer.
The pointer gets initialized again later in the code. This also
improves code style(9).
Modified:
head/sys/ufs/ffs/ffs_snapshot.c
Modified: head/sys/ufs/ffs/ffs_snapshot.c
==============================================================================
--- head/sys/ufs/ffs/ffs_snapshot.c Sat Dec 23 16:24:00 2017 (r327109)
+++ head/sys/ufs/ffs/ffs_snapshot.c Sat Dec 23 16:24:02 2017 (r327110)
@@ -2502,7 +2502,7 @@ readblock(vp, bp, lbn)
struct buf *bp;
ufs2_daddr_t lbn;
{
- struct inode *ip = VTOI(vp);
+ struct inode *ip;
struct bio *bip;
struct fs *fs;
More information about the svn-src-all
mailing list