From 019491bca26a1bd81473d94c59f90cd2379f1b0f Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 23 Nov 2005 10:03:56 +0000 Subject: [PATCH] Make this compile if UHID_DEBUG is not defined. --- sys/dev/usb/uhid.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index 5adfc9bb8bfa..7f0eb21cd029 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -1,4 +1,4 @@ -/* $NetBSD: uhid.c,v 1.65 2005/11/23 08:54:48 augustss Exp $ */ +/* $NetBSD: uhid.c,v 1.66 2005/11/23 10:03:56 tron Exp $ */ /* * Copyright (c) 1998, 2004 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uhid.c,v 1.65 2005/11/23 08:54:48 augustss Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uhid.c,v 1.66 2005/11/23 10:03:56 tron Exp $"); #include #include @@ -127,7 +127,9 @@ USB_DECLARE_DRIVER(uhid); int uhid_match(struct device *parent, struct cfdata *match, void *aux) { +#ifdef UHID_DEBUG struct uhidev_attach_arg *uha = aux; +#endif DPRINTF(("uhid_match: report=%d\n", uha->reportid));