From ba57be3547f6c263592763d8482bf61f869fc3c9 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Fri, 4 Dec 2015 18:25:55 +0000 Subject: MFC r290170: Remove unneeded NULL as this is initialized with M_ZERO. --- sys/dev/filemon/filemon.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys/dev') 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"); } -- cgit v1.1