Skip to content

Commit

Permalink
mac80211: remove shadowed variables in ieee80211_master_start_xmit
Browse files Browse the repository at this point in the history
This patch removes doubly defined variables in ieee80211_master_start_xmit

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Oct 6, 2008
1 parent 74af025 commit 8ef9dad
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1255,8 +1255,7 @@ static int ieee80211_skb_resize(struct ieee80211_local *local,
return 0;
}

int ieee80211_master_start_xmit(struct sk_buff *skb,
struct net_device *dev)
int ieee80211_master_start_xmit(struct sk_buff *skb, struct net_device *dev)
{
struct ieee80211_master_priv *mpriv = netdev_priv(dev);
struct ieee80211_local *local = mpriv->local;
Expand Down Expand Up @@ -1308,8 +1307,6 @@ int ieee80211_master_start_xmit(struct sk_buff *skb,
}
} else if (unlikely(osdata->vif.type == NL80211_IFTYPE_MONITOR)) {
struct ieee80211_sub_if_data *sdata;
struct ieee80211_local *local = osdata->local;
struct ieee80211_hdr *hdr;
int hdrlen;
u16 len_rthdr;

Expand Down

0 comments on commit 8ef9dad

Please sign in to comment.