summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-16 17:51:32 -0500
committerKalle Valo <kvalo@codeaurora.org>2020-08-31 18:19:55 +0300
commite96eecdb290af89e3aca05df835d6123c8947bee (patch)
tree18d0d20cafad8f777d2030e8125b8f40695fa2f9 /tools/perf/scripts/python/export-to-postgresql.py
parent859228a3ae82e587843e16f4e3bae27f94ac1978 (diff)
ath10k: wmi: Use struct_size() helper in ath10k_wmi_alloc_skb()
Make use of the struct_size() helper instead of an open-coded version in order to avoid any potential type mistakes. Also, remove unnecessary variable _len_. This code was detected with the help of Coccinelle and, audited and fixed manually. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200616225132.GA19873@embeddedor
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions