Author: bdrewery
Date: Thu Oct 29 23:56:34 2015
New Revision: 290170
URL: https://svnweb.freebsd.org/changeset/base/290170

Log:
  Remove unneeded NULL as this is initialized with M_ZERO.
  
  MFC after:    2 weeks
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/sys/dev/filemon/filemon.c

Modified: head/sys/dev/filemon/filemon.c
==============================================================================
--- head/sys/dev/filemon/filemon.c      Thu Oct 29 23:06:33 2015        
(r290169)
+++ head/sys/dev/filemon/filemon.c      Thu Oct 29 23:56:34 2015        
(r290170)
@@ -195,9 +195,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-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to