1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

Eliminate the bogus cast.

MFC after:	3 weeks
This commit is contained in:
Dmitry Chagin 2017-07-08 21:13:25 +00:00
parent 11fc6c6dac
commit 18a9ea872a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320819

View File

@ -99,7 +99,7 @@ fdesc_mount(struct mount *mp)
* We need to initialize a few bits of our local mount point struct to
* avoid confusion in allocvp.
*/
mp->mnt_data = (qaddr_t) fmp;
mp->mnt_data = fmp;
fmp->flags = 0;
error = fdesc_allocvp(Froot, -1, FD_ROOT, mp, &rvp);
if (error) {