rt2x00: fix the definition of rt2x00crypto_rx_insert_iv
authorAndrew Price <andy@andrewprice.me.uk>
Thu, 17 Sep 2009 20:15:48 +0000 (21:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Sep 2009 15:35:53 +0000 (11:35 -0400)
Remove the redundant l2pad parameter from the definition of
rt2x00crypto_rx_insert_iv which is used when only CONFIG_RT2500PCI but
none of the other rt2x00 family drivers is configured.

Signed-off-by: Andrew Price <andy@andrewprice.me.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00lib.h

index 5462cb5..567f029 100644 (file)
@@ -380,7 +380,7 @@ static inline void rt2x00crypto_tx_insert_iv(struct sk_buff *skb,
 {
 }
 
-static inline void rt2x00crypto_rx_insert_iv(struct sk_buff *skb, bool l2pad,
+static inline void rt2x00crypto_rx_insert_iv(struct sk_buff *skb,
                                             unsigned int header_length,
                                             struct rxdone_entry_desc *rxdesc)
 {