summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShang XiaoJing <shangxiaojing@huawei.com>2022-09-27 05:40:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-27 11:28:15 +0300
commita6e7f8a49f99b25e29af578bf1d4e19b30a1212f (patch)
treefb057f5b93a0279c086f61d8fd9e1df4fc5c1eeb /tools/perf/scripts/python/export-to-postgresql.py
parent7622384c379fb2fbd6757190f5396d009bc89419 (diff)
downloadlinux-a6e7f8a49f99b25e29af578bf1d4e19b30a1212f.tar.xz
staging: r8188eu: Use skb_put_data() instead of skb_put/memcpy pair
Use skb_put_data() instead of skb_put() and memcpy(), which is shorter and clear. Drop the tmp variable that is not needed any more. Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com> Link: https://lore.kernel.org/r/20220927024050.13556-1-shangxiaojing@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions