Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xenbus g/c unused xenwatch_mutex extern, and st...
details: https://anonhg.NetBSD.org/src/rev/62e7a8afc1c3
branches: trunk
changeset: 1009025:62e7a8afc1c3
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Apr 10 12:38:40 2020 +0000
description:
g/c unused xenwatch_mutex extern, and streq()
diffstat:
sys/arch/xen/xenbus/xenbus_probe.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 50e50c097c04 -r 62e7a8afc1c3 sys/arch/xen/xenbus/xenbus_probe.c
--- a/sys/arch/xen/xenbus/xenbus_probe.c Fri Apr 10 11:41:04 2020 +0000
+++ b/sys/arch/xen/xenbus/xenbus_probe.c Fri Apr 10 12:38:40 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xenbus_probe.c,v 1.46 2020/04/07 15:59:57 jdolecek Exp $ */
+/* $NetBSD: xenbus_probe.c,v 1.47 2020/04/10 12:38:40 jdolecek Exp $ */
/******************************************************************************
* Talks to Xen Store to figure out what devices we have.
*
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xenbus_probe.c,v 1.46 2020/04/07 15:59:57 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xenbus_probe.c,v 1.47 2020/04/10 12:38:40 jdolecek Exp $");
#if 0
#define DPRINTK(fmt, args...) \
@@ -55,10 +55,6 @@
#include "xenbus_comms.h"
-extern struct semaphore xenwatch_mutex;
-
-#define streq(a, b) (strcmp((a), (b)) == 0)
-
static int xenbus_match(device_t, cfdata_t, void *);
static void xenbus_attach(device_t, device_t, void *);
static int xenbus_print(void *, const char *);
Home |
Main Index |
Thread Index |
Old Index