nullfs_mount(): remove unneeded cast

(cherry picked from commit 0724293331)
This commit is contained in:
Konstantin Belousov 2024-03-08 20:37:43 +02:00
parent 3ba93b50d6
commit a79bb016d9

View file

@ -174,8 +174,8 @@ nullfs_mount(struct mount *mp)
return (EINVAL);
}
xmp = (struct null_mount *) malloc(sizeof(struct null_mount),
M_NULLFSMNT, M_WAITOK | M_ZERO);
xmp = malloc(sizeof(struct null_mount), M_NULLFSMNT,
M_WAITOK | M_ZERO);
/*
* Save pointer to underlying FS and the reference to the