From f88d426de7612285734bb0af7939ca7d19db1c69 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 29 May 2024 01:11:53 +0000 Subject: [PATCH] remove externs with no matching var --- sys/dev/ic/acxvar.h | 4 +--- sys/dev/ic/aic7xxxvar.h | 13 ++----------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/sys/dev/ic/acxvar.h b/sys/dev/ic/acxvar.h index 6af4a3ab6bf..1d26cd1cc4a 100644 --- a/sys/dev/ic/acxvar.h +++ b/sys/dev/ic/acxvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acxvar.h,v 1.19 2008/07/21 04:12:21 kevlo Exp $ */ +/* $OpenBSD: acxvar.h,v 1.20 2024/05/29 01:11:53 jsg Exp $ */ /* * Copyright (c) 2006 Jonathan Gray @@ -469,8 +469,6 @@ struct acx_softc { #define ACX_RADIO_RSSI_RADIA 78 /* 78db */ #define ACX_RADIO_RSSI_UNKN 0 /* unknown radio */ -extern const struct ieee80211_rateset acx_rates_11b; -extern const struct ieee80211_rateset acx_rates_11g; extern int acx_beacon_intvl; void acx100_set_param(struct acx_softc *); diff --git a/sys/dev/ic/aic7xxxvar.h b/sys/dev/ic/aic7xxxvar.h index 5ef7c3443b0..d2c3161d695 100644 --- a/sys/dev/ic/aic7xxxvar.h +++ b/sys/dev/ic/aic7xxxvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: aic7xxxvar.h,v 1.39 2024/05/29 00:48:15 jsg Exp $ */ +/* $OpenBSD: aic7xxxvar.h,v 1.40 2024/05/29 01:11:53 jsg Exp $ */ /* * Core definitions and data structures shareable across OS platforms. * @@ -38,7 +38,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * - * $Id: aic7xxxvar.h,v 1.39 2024/05/29 00:48:15 jsg Exp $ + * $Id: aic7xxxvar.h,v 1.40 2024/05/29 01:11:53 jsg Exp $ * * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.h,v 1.50 2003/12/17 00:02:09 gibbs Exp $ */ @@ -1164,15 +1164,6 @@ struct ahc_pci_identity { extern const struct ahc_pci_identity ahc_pci_ident_table[]; /***************************** VL/EISA Declarations ***************************/ -struct aic7770_identity { - uint32_t full_id; - uint32_t id_mask; - const char *name; - ahc_device_setup_t *setup; -}; -extern struct aic7770_identity aic7770_ident_table[]; -extern const int ahc_num_aic7770_devs; - #define AHC_EISA_SLOT_OFFSET 0xc00 #define AHC_EISA_IOSIZE 0x100 -- 2.20.1