diff options
author | Ivo van Doorn <IvDoorn@gmail.com> | 2008-01-24 03:48:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:03 -0500 |
commit | 4bd7c452a468af30bb3c4d9c3adcdaf3f3c6048c (patch) | |
tree | 87df588e208a8118c6aba89c85bddef2d0ed79c9 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | 2676c94d4e5994f92e57fa3ea680f1d652049d03 (diff) |
rt2x00: Remove data_desc structure
Coverty indicated that data_desc with a single
element array is bad coding style. This removes
the structure and forces everybody to use __le32.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index d18cca89eede..2cd2c9fab1a5 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -488,7 +488,7 @@ struct rt2x00lib_ops { | |||
488 | * TX control handlers | 488 | * TX control handlers |
489 | */ | 489 | */ |
490 | void (*write_tx_desc) (struct rt2x00_dev *rt2x00dev, | 490 | void (*write_tx_desc) (struct rt2x00_dev *rt2x00dev, |
491 | struct data_desc *txd, | 491 | __le32 *txd, |
492 | struct txdata_entry_desc *desc, | 492 | struct txdata_entry_desc *desc, |
493 | struct ieee80211_hdr *ieee80211hdr, | 493 | struct ieee80211_hdr *ieee80211hdr, |
494 | unsigned int length, | 494 | unsigned int length, |
@@ -889,7 +889,7 @@ void rt2x00lib_rxdone(struct data_entry *entry, struct sk_buff *skb, | |||
889 | * TX descriptor initializer | 889 | * TX descriptor initializer |
890 | */ | 890 | */ |
891 | void rt2x00lib_write_tx_desc(struct rt2x00_dev *rt2x00dev, | 891 | void rt2x00lib_write_tx_desc(struct rt2x00_dev *rt2x00dev, |
892 | struct data_desc *txd, | 892 | __le32 *txd, |
893 | struct ieee80211_hdr *ieee80211hdr, | 893 | struct ieee80211_hdr *ieee80211hdr, |
894 | unsigned int length, | 894 | unsigned int length, |
895 | struct ieee80211_tx_control *control); | 895 | struct ieee80211_tx_control *control); |