diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-12-04 18:25:55 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-12-04 18:25:55 +0000 |
commit | ba57be3547f6c263592763d8482bf61f869fc3c9 (patch) | |
tree | c8b02c50d77527daf9e9109eb4a3e6aff7617eee | |
parent | 42fd244b0bf9d76d412cb38b91bcdaed3867d1fd (diff) | |
download | FreeBSD-src-ba57be3547f6c263592763d8482bf61f869fc3c9.zip FreeBSD-src-ba57be3547f6c263592763d8482bf61f869fc3c9.tar.gz |
MFC r290170:
Remove unneeded NULL as this is initialized with M_ZERO.
-rw-r--r-- | sys/dev/filemon/filemon.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/filemon/filemon.c b/sys/dev/filemon/filemon.c index f171ce3..b302de9 100644 --- a/sys/dev/filemon/filemon.c +++ b/sys/dev/filemon/filemon.c @@ -194,9 +194,6 @@ filemon_open(struct cdev *dev, int oflags __unused, int devtype __unused, if (filemon == NULL) { filemon = malloc(sizeof(struct filemon), M_FILEMON, M_WAITOK | M_ZERO); - - filemon->fp = NULL; - sx_init(&filemon->lock, "filemon"); } |