diff options
Diffstat (limited to 'sys')
-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"); } |