diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-05-03 12:53:22 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-06-23 11:57:20 +0300 |
commit | 78c1acf35fcd528ff4c76057d5724ac00e0f7fff (patch) | |
tree | 535c9e888d733fc3ccaa759071e4bfc0cefa3b49 /drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h | |
parent | 550aba9b8dce109725a87cdcc8268f56dfd32af0 (diff) | |
download | blackbird-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