diff options
author | archie <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
commit | 60d13c7a9dd18f720483338ebef03609492ca98c (patch) | |
tree | 5709d8cdab99e3c1cb9ae7c2117627c1031fdf39 /sys/dev/dpt/dpt_pci.c | |
parent | 2f8d013d96c256b3a48e227aab238e53eb9304cf (diff) | |
download | FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.zip FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.tar.gz |
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
Diffstat (limited to 'sys/dev/dpt/dpt_pci.c')
-rw-r--r-- | sys/dev/dpt/dpt_pci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c index 7af9a2a..b704fca 100644 --- a/sys/dev/dpt/dpt_pci.c +++ b/sys/dev/dpt/dpt_pci.c @@ -32,7 +32,7 @@ * dptpci.c: PCI Bus Attachment for DPT SCSI HBAs */ -#ident "$Id: dpt_pci.c,v 1.8 1998/09/15 08:33:38 gibbs Exp $" +#ident "$Id: dpt_pci.c,v 1.9 1998/10/07 03:40:51 gibbs Exp $" #include "opt_devfs.h" #include "opt_dpt.h" @@ -112,14 +112,13 @@ dpt_pci_attach(pcici_t config_id, int unit) { dpt_softc_t *dpt; vm_offset_t vaddr; +#ifdef DPT_ALLOW_MEMIO vm_offset_t paddr; +#endif u_int16_t io_base; bus_space_tag_t tag; bus_space_handle_t bsh; u_int32_t command; - u_int32_t data; - int result; - int ndx; int s; vaddr = NULL; |