Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi remove unused variable.



details:   https://anonhg.NetBSD.org/src/rev/6101ad2ce010
branches:  trunk
changeset: 816211:6101ad2ce010
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Wed Jun 22 05:39:49 2016 +0000

description:
remove unused variable.

diffstat:

 sys/dev/acpi/sdhc_acpi.c |  13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diffs (34 lines):

diff -r c46e9d3d7be7 -r 6101ad2ce010 sys/dev/acpi/sdhc_acpi.c
--- a/sys/dev/acpi/sdhc_acpi.c  Tue Jun 21 21:53:55 2016 +0000
+++ b/sys/dev/acpi/sdhc_acpi.c  Wed Jun 22 05:39:49 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdhc_acpi.c,v 1.1 2016/06/21 11:35:47 nonaka Exp $     */
+/*     $NetBSD: sdhc_acpi.c,v 1.2 2016/06/22 05:39:49 nonaka Exp $     */
 
 /*
  * Copyright (c) 2016 Kimihiro Nonaka <nonaka%NetBSD.org@localhost>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc_acpi.c,v 1.1 2016/06/21 11:35:47 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc_acpi.c,v 1.2 2016/06/22 05:39:49 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -67,15 +67,6 @@
        NULL
 };
 
-static const struct sdhc_acpi_slot_map {
-       const char *device_id;
-       const char *unique_id;
-} sdhc_acpi_slot_map[] = {
-       { "80860F14",   "1" },  /* eMMC */
-       { "80860F14",   "3" },  /* SD */
-       { "80860F16",   NULL }, /* SD */
-};
-
 static int
 sdhc_acpi_match(device_t parent, cfdata_t match, void *opaque)
 {



Home | Main Index | Thread Index | Old Index