From 101b90206248776f0ce96482b7ed89693d7b7483 Mon Sep 17 00:00:00 2001 From: mentor Date: Mon, 25 Feb 2008 15:51:38 +0000 Subject: [PATCH] Arbitrary whitespace cleanups git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3365 0192ed92-7a03-0410-a25b-9323aeb14dbd --- net80211/ieee80211_input.c | 4 ++-- net80211/ieee80211_output.c | 1 - net80211/ieee80211_skb.h | 10 +++++----- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/net80211/ieee80211_input.c b/net80211/ieee80211_input.c index f3c4fcd..5347e0f 100644 --- a/net80211/ieee80211_input.c +++ b/net80211/ieee80211_input.c @@ -244,13 +244,13 @@ ieee80211_input(struct ieee80211vap * vap, struct ieee80211_node *ni_or_null, vap->iv_stats.is_rx_tooshort++; goto out; } + /* Clone the SKB... we assume somewhere in this driver that we 'own' * the skbuff passed into hard start and we do a lot of messing with it * but bridges under some cases will not clone for the first pass of skb * to a bridge port, but will then clone for subsequent ones. This is * odd behavior but it means that if we have trashed the skb we are given - * then other ports get clones of the residual garbage. - */ + * then other ports get clones of the residual garbage. */ if ((skb2 = skb_copy(skb, GFP_ATOMIC)) == NULL) { vap->iv_devstats.tx_dropped++; goto out; diff --git a/net80211/ieee80211_output.c b/net80211/ieee80211_output.c index 4425e2c..4a0889e 100644 --- a/net80211/ieee80211_output.c +++ b/net80211/ieee80211_output.c @@ -324,7 +324,6 @@ void ieee80211_parent_queue_xmit(struct sk_buff *skb) { if (dev_queue_xmit(skb) == NET_XMIT_DROP) vap->iv_devstats.tx_dropped++; - } /* diff --git a/net80211/ieee80211_skb.h b/net80211/ieee80211_skb.h index b6d06e0..6c5f9eb 100644 --- a/net80211/ieee80211_skb.h +++ b/net80211/ieee80211_skb.h @@ -113,9 +113,9 @@ int ieee80211_skb_references(void); #ifdef IEEE80211_DEBUG_REFCNT -int vlan_hwaccel_receive_skb_debug(struct sk_buff *skb, - struct vlan_group *grp, unsigned short vlan_tag, - const char* func, int line); +int vlan_hwaccel_receive_skb_debug(struct sk_buff *skb, + struct vlan_group *grp, unsigned short vlan_tag, + const char* func, int line); int netif_rx_debug(struct sk_buff *skb, const char* func, int line); struct sk_buff * alloc_skb_debug(unsigned int length, gfp_t gfp_mask, const char *func, int line); @@ -137,8 +137,8 @@ struct sk_buff * skb_share_check_debug(struct sk_buff *skb, gfp_t pri, const char *func, int line); void kfree_skb_fast_debug(struct sk_buff *skb, const char* func, int line); -struct sk_buff * skb_unshare_debug(struct sk_buff *skb, gfp_t pri, - const char *func, int line); +struct sk_buff * skb_unshare_debug(struct sk_buff *skb, gfp_t pri, + const char *func, int line); struct sk_buff * skb_copy_expand_debug(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask, const char *func, int line);