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/897eb7373a7d
branches: trunk
changeset: 346069:897eb7373a7d
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 9fa9b26b0e51 -r 897eb7373a7d 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