Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2018 20:07:37 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r340514 - stable/12/sys/kern
Message-ID:  <201811172007.wAHK7bcl052199@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Nov 17 20:07:37 2018
New Revision: 340514
URL: https://svnweb.freebsd.org/changeset/base/340514

Log:
  MFC r339737:
  Remove a dead store.

Modified:
  stable/12/sys/kern/vfs_mountroot.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/vfs_mountroot.c
==============================================================================
--- stable/12/sys/kern/vfs_mountroot.c	Sat Nov 17 20:04:38 2018	(r340513)
+++ stable/12/sys/kern/vfs_mountroot.c	Sat Nov 17 20:07:37 2018	(r340514)
@@ -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?201811172007.wAHK7bcl052199>