Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2016 11:18:29 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r299659 - head/sys/boot/i386/zfsboot
Message-ID:  <201605131118.u4DBITxY015738@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Fri May 13 11:18:29 2016
New Revision: 299659
URL: https://svnweb.freebsd.org/changeset/base/299659

Log:
  Remove unused const variable
  
  MFC after: 1 week
  Reported by: clang
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/sys/boot/i386/zfsboot/zfsboot.c

Modified: head/sys/boot/i386/zfsboot/zfsboot.c
==============================================================================
--- head/sys/boot/i386/zfsboot/zfsboot.c	Fri May 13 11:18:27 2016	(r299658)
+++ head/sys/boot/i386/zfsboot/zfsboot.c	Fri May 13 11:18:29 2016	(r299659)
@@ -85,7 +85,6 @@ static const unsigned char flags[NOPT] =
 };
 uint32_t opts;
 
-static const char *const dev_nm[NDEV] = {"ad", "da", "fd"};
 static const unsigned char dev_maj[NDEV] = {30, 4, 2};
 
 static char cmd[512];



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