summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-05-03 12:53:22 +0200
committerLuca Coelho <luciano.coelho@intel.com>2017-06-23 11:57:20 +0300
commit78c1acf35fcd528ff4c76057d5724ac00e0f7fff (patch)
tree535c9e888d733fc3ccaa759071e4bfc0cefa3b49 /drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h
parent550aba9b8dce109725a87cdcc8268f56dfd32af0 (diff)
downloadblackbird-op-linux-78c1acf35fcd528ff4c76057d5724ac00e0f7fff.tar.gz
blackbird-op-linux-78c1acf35fcd528ff4c76057d5724ac00e0f7fff.zip
iwlwifi: simplify data tracepoint
There's no need to calculate the data_len outside of the tracepoint, since it's always skb->len - hdr_len, which are both available inside. Simplify the callers and move the calculation in. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud