diff options
author | Pavel Roskin <proski@gnu.org> | 2007-04-13 02:57:37 -0400 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-04-13 10:38:24 +0200 |
commit | 130ddd009771aba38570ea7aa89b9895b98fbb73 (patch) | |
tree | d308b917251938f7fac48ee2192302d6c8f71991 /at76_usb.h | |
parent | 52de37e5dcfeb9974f21601229ae0374bde6abb9 (diff) |
[PATCH] Remove unused and write-only fields from some structures
Signed-off-by: Pavel Roskin <proski@gnu.org>
Diffstat (limited to 'at76_usb.h')
-rw-r--r-- | at76_usb.h | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -426,8 +426,6 @@ struct reg_domain { struct bss_info { struct list_head list; - u8 mac[ETH_ALEN]; /* real mac address, differs - for ad-hoc from bssid */ u8 bssid[ETH_ALEN]; /* bssid */ u8 ssid[IW_ESSID_MAX_SIZE + 1]; /* ssid, +1 for trailing \0 to make it printable */ @@ -476,7 +474,6 @@ struct at76_priv { __u8 bulk_in_endpointAddr; /* the address of the bulk in endpoint */ void *bulk_out_buffer; /* the buffer to send data */ - int bulk_out_size; /* the size of the send buffer */ struct urb *write_urb; /* the urb used to send data */ struct urb *read_urb; __u8 bulk_out_endpointAddr; /* the address of the bulk out endpoint */ @@ -495,8 +492,6 @@ struct at76_priv { void *ctrl_buffer; struct urb *ctrl_urb; - u8 op_mode; - /* the WEP stuff */ int wep_enabled; /* 1 if WEP is enabled */ int wep_key_id; /* key id to be used */ @@ -506,7 +501,6 @@ struct at76_priv { int channel; int iw_mode; - int curr_ap; u8 bssid[ETH_ALEN]; u8 essid[IW_ESSID_MAX_SIZE]; char nickn[IW_ESSID_MAX_SIZE + 1]; /* nickname, only used in the iwconfig i/f */ @@ -561,7 +555,6 @@ struct at76_priv { struct timer_list mgmt_timer; /* the timer we use to repeat auth_req etc. */ int retries; /* counts backwards while re-trying to send auth/assoc_req's */ - u16 assoc_id; /* the assoc_id for states JOINING, REASSOCIATING, CONNECTED */ u8 pm_mode; /* power management mode: AT76_PM_{OFF, ON, SMART} */ u32 pm_period; /* power manag. period in us */ u32 board_type; /* BOARDTYPE_* in at76_usb_ids.h */ @@ -577,17 +570,7 @@ struct at76_priv { /* These fields contain HW config provided by the device (not all of * these fields are used by all board types) */ u8 mac_addr[ETH_ALEN]; - u8 bb_cr[14]; - u8 pidvid[4]; u8 regulatory_domain; - u8 cr15_values[14]; - u8 cr20_values[14]; - u8 cr21_values[14]; - u8 cr31_values[14]; - u8 cr39_values[14]; - u8 cr58_values[14]; - u8 low_power_values[14]; - u8 normal_power_values[14]; struct at76_card_config card_config; struct mib_fw_version fw_version; |