svn commit: r291801 - stable/10/sys/dev/filemon
Bryan Drewery
bdrewery at FreeBSD.org
Fri Dec 4 18:25:57 UTC 2015
Author: bdrewery
Date: Fri Dec 4 18:25:55 2015
New Revision: 291801
URL: https://svnweb.freebsd.org/changeset/base/291801
Log:
MFC r290170:
Remove unneeded NULL as this is initialized with M_ZERO.
Modified:
stable/10/sys/dev/filemon/filemon.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/filemon/filemon.c
==============================================================================
--- stable/10/sys/dev/filemon/filemon.c Fri Dec 4 18:24:51 2015 (r291800)
+++ stable/10/sys/dev/filemon/filemon.c Fri Dec 4 18:25:55 2015 (r291801)
@@ -194,9 +194,6 @@ filemon_open(struct cdev *dev, int oflag
if (filemon == NULL) {
filemon = malloc(sizeof(struct filemon), M_FILEMON,
M_WAITOK | M_ZERO);
-
- filemon->fp = NULL;
-
sx_init(&filemon->lock, "filemon");
}
More information about the svn-src-stable-10
mailing list