From: Stanislav Fomichev Date: Sun, 10 Apr 2011 18:34:21 +0000 (+0400) Subject: brcm80211: remove unused struct ppb_config_regs X-Git-Tag: firefly_0821_release~7613^2~1326^2~719 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b68692e795dc0e4f52139c2840a3c2f88a8d2e7f;p=firefly-linux-kernel-4.4.55.git brcm80211: remove unused struct ppb_config_regs Signed-off-by: Stanislav Fomichev Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/include/pcicfg.h b/drivers/staging/brcm80211/include/pcicfg.h index dff8ae55c7e1..eefcc04c34f6 100644 --- a/drivers/staging/brcm80211/include/pcicfg.h +++ b/drivers/staging/brcm80211/include/pcicfg.h @@ -52,56 +52,6 @@ typedef struct _pci_config_regs { } pci_config_regs; #define SZPCR (sizeof (pci_config_regs)) -#define MINSZPCR 64 /* offsetof (dev_dep[0] */ - -/* Classes and subclasses */ - -/* Overlay for a PCI-to-PCI bridge */ - -#define PPB_RSVDA_MAX 2 -#define PPB_RSVDD_MAX 8 - -typedef struct _ppb_config_regs { - u16 vendor; - u16 device; - u16 command; - u16 status; - u8 rev_id; - u8 prog_if; - u8 sub_class; - u8 base_class; - u8 cache_line_size; - u8 latency_timer; - u8 header_type; - u8 bist; - u32 rsvd_a[PPB_RSVDA_MAX]; - u8 prim_bus; - u8 sec_bus; - u8 sub_bus; - u8 sec_lat; - u8 io_base; - u8 io_lim; - u16 sec_status; - u16 mem_base; - u16 mem_lim; - u16 pf_mem_base; - u16 pf_mem_lim; - u32 pf_mem_base_hi; - u32 pf_mem_lim_hi; - u16 io_base_hi; - u16 io_lim_hi; - u16 subsys_vendor; - u16 subsys_id; - u32 rsvd_b; - u8 rsvd_c; - u8 int_pin; - u16 bridge_ctrl; - u8 chip_ctrl; - u8 diag_ctrl; - u16 arb_ctrl; - u32 rsvd_d[PPB_RSVDD_MAX]; - u8 dev_dep[192]; -} ppb_config_regs; /* Everything below is BRCM HND proprietary */