svn commit: r339737 - head/sys/kern
Mark Johnston
markj at FreeBSD.org
Thu Oct 25 17:36:29 UTC 2018
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;
}
More information about the svn-src-all
mailing list