Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/9b61d8a32da1
branches:  trunk
changeset: 830002:9b61d8a32da1
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 22 01:50:26 2018 +0000

description:
notyet an unused variable.

diffstat:

 sys/dev/acpi/tpm_acpi.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r bf69a8035168 -r 9b61d8a32da1 sys/dev/acpi/tpm_acpi.c
--- a/sys/dev/acpi/tpm_acpi.c   Thu Feb 22 01:40:49 2018 +0000
+++ b/sys/dev/acpi/tpm_acpi.c   Thu Feb 22 01:50:26 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tpm_acpi.c,v 1.5 2017/10/28 04:53:55 riastradh Exp $ */
+/* $NetBSD: tpm_acpi.c,v 1.6 2018/02/22 01:50:26 christos Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tpm_acpi.c,v 1.5 2017/10/28 04:53:55 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tpm_acpi.c,v 1.6 2018/02/22 01:50:26 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -85,11 +85,13 @@
  * Supported device IDs
  */
 
+#ifdef notyet
 static const char * const tpm_acpi_ids[] = {
        "IFX0101",
        "IFX0102",
        NULL
 };
+#endif
 
 static int
 tpm_acpi_match(device_t parent, cfdata_t match, void *aux)



Home | Main Index | Thread Index | Old Index