diff options
| author | dyoung <dyoung@NetBSD.org> | 2006-09-01 03:24:58 +0000 |
|---|---|---|
| committer | dyoung <dyoung@NetBSD.org> | 2006-09-01 03:24:58 +0000 |
| commit | 013444d78cb25b32e23295e5c2a1bc674a6ff5e7 (patch) | |
| tree | c01584a62c505a24daa90568a6c8796af4898a1f /sys/dev | |
| parent | 4139dfe2aafc5cdeb8b8bf545b720f1a868a5a4d (diff) | |
Remove the declaration of an unused local variable 'reg'.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/if_rtw_pci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_rtw_pci.c b/sys/dev/pci/if_rtw_pci.c index c3f015c8f83..3cb2b3c95dd 100644 --- a/sys/dev/pci/if_rtw_pci.c +++ b/sys/dev/pci/if_rtw_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_rtw_pci.c,v 1.6 2006/06/17 23:34:27 christos Exp $ */ +/* $NetBSD: if_rtw_pci.c,v 1.7 2006/09/01 03:24:58 dyoung Exp $ */ /*- * Copyright (c) 1998, 1999, 2000, 2002 The NetBSD Foundation, Inc. @@ -46,7 +46,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_rtw_pci.c,v 1.6 2006/06/17 23:34:27 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_rtw_pci.c,v 1.7 2006/09/01 03:24:58 dyoung Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -181,7 +181,6 @@ rtw_pci_attach(struct device *parent, struct device *self, void *aux) bus_space_handle_t ioh, memh; int ioh_valid, memh_valid; const struct rtw_pci_product *app; - pcireg_t reg; int error; psc->psc_pc = pa->pa_pc; |
