]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Remove unneeded NULL as this is initialized with M_ZERO.
authorbdrewery <bdrewery@FreeBSD.org>
Thu, 29 Oct 2015 23:56:34 +0000 (23:56 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Thu, 29 Oct 2015 23:56:34 +0000 (23:56 +0000)
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

sys/dev/filemon/filemon.c

index f8a698f65e3b379a52e733eaa667345e6d2a8a2c..ef6c98c7f18d846049a7e2171b15a64c57754a1a 100644 (file)
@@ -195,9 +195,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");
        }