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/advansys/adw_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/advansys/adw_pci.c')
-rw-r--r-- | sys/dev/advansys/adw_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c index 2109b91..eb941bf 100644 --- a/sys/dev/advansys/adw_pci.c +++ b/sys/dev/advansys/adw_pci.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: adw_pci.c,v 1.1 1998/10/07 03:20:49 gibbs Exp $ */ #include <pci.h> @@ -89,7 +89,9 @@ adwpciattach(pcici_t config_id, int unit) u_int32_t id; u_int32_t command; vm_offset_t vaddr; +#ifdef ADW_ALLOW_MEMIO vm_offset_t paddr; +#endif u_int16_t io_port; bus_space_tag_t tag; bus_space_handle_t bsh; |