orinoco: Remove unused variable rx_data
PATCH 1/1 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 <[email protected]>
--- drivers/net/wireless/orinoco/orinoco.c | 6 ++++++ drivers/net/wireless/orinoco/orinoco.h | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-)
drivers/net/wireless/orinoco/orinoco.c +6 -0
@@ -240,6 +240,12 @@ struct hermes_rx_descriptor {__le16 data_len; } __attribute__ ((packed)); +struct orinoco_rx_data { +struct hermes_rx_descriptor *desc; +struct sk_buff *skb; +struct list_head list; +}; +/********************************************************************/ /* Function prototypes */ /********************************************************************/
drivers/net/wireless/orinoco/orinoco.h +0 -9
@@ -59,14 +59,6 @@ struct xbss_element {struct list_head list; }; -struct hermes_rx_descriptor ; - -struct orinoco_rx_data { -struct hermes_rx_descriptor *desc; -struct sk_buff *skb; -struct list_head list; -}; -struct firmware ;struct orinoco_private {
@@ -83,7 +75,6 @@ struct orinoco_private {/* Interrupt tasklets */ struct tasklet_struct rx_tasklet;struct list_head rx_list; -struct orinoco_rx_data *rx_data;/* driver state */ int open;
Signature · 1 line
1.6.0.6