Remove unneeded NULL as this is initialized with M_ZERO.

MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-10-29 23:56:34 +00:00
parent 277a765cf4
commit 243c115e92

View 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");
}