orinoco: Remove unused variable rx_data
authorDavid Kilroy <kilroyd@googlemail.com>
Wed, 7 Jan 2009 00:43:54 +0000 (00:43 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:54 +0000 (15:59 -0500)
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>
drivers/net/wireless/orinoco/orinoco.c
drivers/net/wireless/orinoco/orinoco.h

index beb4d1f8c184b050de7f55a13da7ea45e7bb3072..41aa51bc49a4e57c039a74df198e1f31bd0d9027 100644 (file)
@@ -235,6 +235,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                                              */
 /********************************************************************/
index 00750c8ba7db4019a5ea36a6c46632cbd1aad1db..c653816ef5fe343ba416929731d1df5b8205d08e 100644 (file)
@@ -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;