]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee569cc056bfc8766a62474ecd713c2d5bb3438e
tree766d611834e1081f0430015a686de5d07bee4c62
parentd8917d35b36bf9cddbc8985725e73ca88be860f6
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