diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2011-03-14 13:58:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 14:58:50 -0400 |
commit | c6528e2f0dca96ee2c4bf7f1600d9537fad88197 (patch) | |
tree | 631836395a7c5f9e36d49d99892fd30de10e7d88 /drivers/staging/ath6kl/os/linux/netbuf.c | |
parent | 4f0cce96a1c40e3874ac7d3794ad0d36c79fb995 (diff) |
ath6kl: remove-typedef HTC_PACKET
This required two passes:
remove-typedef -s HTC_PACKET \
"struct htc_packet" drivers/staging/ath6kl/
remove-typedef -s _HTC_PACKET \
"struct htc_packet" drivers/staging/ath6kl/
Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/os/linux/netbuf.c')
-rw-r--r-- | drivers/staging/ath6kl/os/linux/netbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/ath6kl/os/linux/netbuf.c b/drivers/staging/ath6kl/os/linux/netbuf.c index 63acedf8e3a..a9c96b315c4 100644 --- a/drivers/staging/ath6kl/os/linux/netbuf.c +++ b/drivers/staging/ath6kl/os/linux/netbuf.c | |||
@@ -63,8 +63,8 @@ a_netbuf_alloc(int size) | |||
63 | { | 63 | { |
64 | struct sk_buff *skb; | 64 | struct sk_buff *skb; |
65 | size += 2 * (A_GET_CACHE_LINE_BYTES()); /* add some cacheline space at front and back of buffer */ | 65 | size += 2 * (A_GET_CACHE_LINE_BYTES()); /* add some cacheline space at front and back of buffer */ |
66 | skb = dev_alloc_skb(AR6000_DATA_OFFSET + sizeof(HTC_PACKET) + size); | 66 | skb = dev_alloc_skb(AR6000_DATA_OFFSET + sizeof(struct htc_packet) + size); |
67 | skb_reserve(skb, AR6000_DATA_OFFSET + sizeof(HTC_PACKET) + A_GET_CACHE_LINE_BYTES()); | 67 | skb_reserve(skb, AR6000_DATA_OFFSET + sizeof(struct htc_packet) + A_GET_CACHE_LINE_BYTES()); |
68 | return ((void *)skb); | 68 | return ((void *)skb); |
69 | } | 69 | } |
70 | 70 | ||