Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2018 17:36:28 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339737 - head/sys/kern
Message-ID:  <201810251736.w9PHaS7k041249@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810251736.w9PHaS7k041249>