mac80211: use reset to set header pointer
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Thu, 3 Mar 2016 01:16:56 +0000 (01:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Mar 2016 03:45:13 +0000 (22:45 -0500)
commitd57a544d71092a81c2064ff242009a38e7b1a631
tree766d611834e1081f0430015a686de5d07bee4c62
parent6b163a85478b27748bad219fe3ead7ac87217265
mac80211: use reset to set header pointer

Since offset is zero, it's not necessary to use set function. Reset
function is straightforward, and will remove the unnecessary add
operation in set function.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/mesh_hwmp.c
net/mac80211/rx.c
net/mac80211/status.c
net/mac80211/tx.c