Skip to content

Commit

Permalink
orinoco: Remove unused variable rx_data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Kilroy authored and John W. Linville committed Jan 29, 2009
1 parent d1c3a37 commit 4716679
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 6 additions & 0 deletions drivers/net/wireless/orinoco/orinoco.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
/********************************************************************/
Expand Down
9 changes: 0 additions & 9 deletions drivers/net/wireless/orinoco/orinoco.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
Expand Down

0 comments on commit 4716679

Please sign in to comment.