diff options
author | David Kilroy <kilroyd@googlemail.com> | 2009-01-06 19:43:54 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:54 -0500 |
commit | 47166791b7296db5c0a7189401e42b8c7f4cca25 (patch) | |
tree | fb2e54bdd1b17206be6de1f4ae2629c4a1aaddcc | |
parent | d1c3a37ceeb1a5ea02991a0476355f1a1d3b3e83 (diff) |
orinoco: Remove unused variable rx_data
Probably something leftover from experimentation with tasklets. Now the
structure declaration orinoco_rx_data can be relocated to orinoco.c
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/orinoco/orinoco.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco/orinoco.h | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco.c b/drivers/net/wireless/orinoco/orinoco.c index beb4d1f8c184..41aa51bc49a4 100644 --- a/drivers/net/wireless/orinoco/orinoco.c +++ b/drivers/net/wireless/orinoco/orinoco.c | |||
@@ -235,6 +235,12 @@ struct hermes_rx_descriptor { | |||
235 | __le16 data_len; | 235 | __le16 data_len; |
236 | } __attribute__ ((packed)); | 236 | } __attribute__ ((packed)); |
237 | 237 | ||
238 | struct orinoco_rx_data { | ||
239 | struct hermes_rx_descriptor *desc; | ||
240 | struct sk_buff *skb; | ||
241 | struct list_head list; | ||
242 | }; | ||
243 | |||
238 | /********************************************************************/ | 244 | /********************************************************************/ |
239 | /* Function prototypes */ | 245 | /* Function prototypes */ |
240 | /********************************************************************/ | 246 | /********************************************************************/ |
diff --git a/drivers/net/wireless/orinoco/orinoco.h b/drivers/net/wireless/orinoco/orinoco.h index 00750c8ba7db..c653816ef5fe 100644 --- a/drivers/net/wireless/orinoco/orinoco.h +++ b/drivers/net/wireless/orinoco/orinoco.h | |||
@@ -59,14 +59,6 @@ struct xbss_element { | |||
59 | struct list_head list; | 59 | struct list_head list; |
60 | }; | 60 | }; |
61 | 61 | ||
62 | struct hermes_rx_descriptor; | ||
63 | |||
64 | struct orinoco_rx_data { | ||
65 | struct hermes_rx_descriptor *desc; | ||
66 | struct sk_buff *skb; | ||
67 | struct list_head list; | ||
68 | }; | ||
69 | |||
70 | struct firmware; | 62 | struct firmware; |
71 | 63 | ||
72 | struct orinoco_private { | 64 | struct orinoco_private { |
@@ -83,7 +75,6 @@ struct orinoco_private { | |||
83 | /* Interrupt tasklets */ | 75 | /* Interrupt tasklets */ |
84 | struct tasklet_struct rx_tasklet; | 76 | struct tasklet_struct rx_tasklet; |
85 | struct list_head rx_list; | 77 | struct list_head rx_list; |
86 | struct orinoco_rx_data *rx_data; | ||
87 | 78 | ||
88 | /* driver state */ | 79 | /* driver state */ |
89 | int open; | 80 | int open; |