Author: dchagin
Date: Sat Jul  8 21:12:00 2017
New Revision: 320818
URL: https://svnweb.freebsd.org/changeset/base/320818

Log:
  Eliminate the bogus cast.
  
  MFC after:    3 weeks

Modified:
  head/sys/fs/fdescfs/fdesc_vfsops.c

Modified: head/sys/fs/fdescfs/fdesc_vfsops.c
==============================================================================
--- head/sys/fs/fdescfs/fdesc_vfsops.c  Sat Jul  8 21:08:22 2017        
(r320817)
+++ head/sys/fs/fdescfs/fdesc_vfsops.c  Sat Jul  8 21:12:00 2017        
(r320818)
@@ -126,7 +126,7 @@ fdesc_unmount(struct mount *mp, int mntflags)
        int error, flags;
 
        flags = 0;
-       fmp = (struct fdescmount *)mp->mnt_data;
+       fmp = mp->mnt_data;
        if (mntflags & MNT_FORCE) {
                /* The hash mutex protects the private mount flags. */
                mtx_lock(&fdesc_hashmtx);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to