Author: markj
Date: Thu Oct 25 17:36:28 2018
New Revision: 339737
URL: https://svnweb.freebsd.org/changeset/base/339737

Log:
  Remove a dead store.
  
  CID:          1304878
  MFC after:    1 week

Modified:
  head/sys/kern/vfs_mountroot.c

Modified: head/sys/kern/vfs_mountroot.c
==============================================================================
--- head/sys/kern/vfs_mountroot.c       Thu Oct 25 17:17:11 2018        
(r339736)
+++ head/sys/kern/vfs_mountroot.c       Thu Oct 25 17:36:28 2018        
(r339737)
@@ -579,7 +579,7 @@ parse_dir_md(char **conf)
 
        if (root_mount_mddev != -1) {
                mdio->md_unit = root_mount_mddev;
-               error = kern_ioctl(td, fd, MDIOCDETACH, (void *)mdio);
+               (void)kern_ioctl(td, fd, MDIOCDETACH, (void *)mdio);
                /* Ignore errors. We don't care. */
                root_mount_mddev = -1;
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to