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");
        }
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"

Reply via email to