iwlwifi: use reset to set transport header
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Fri, 2 Dec 2016 01:51:06 +0000 (09:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2016 20:49:16 +0000 (15:49 -0500)
commita52a8a4d98f82478d8ef0d121115b514a7f72f85
tree0d977ffc8b7ad998279b8aa81a810d8b0e501edf
parent690291093a54535d63084e4da63fd44599cf02e8
iwlwifi: use reset to set transport header

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>
drivers/net/wireless/intel/iwlwifi/pcie/tx.c