diff options
author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-09-27 10:28:02 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-09-29 09:19:09 +0200 |
commit | 1469327bb3dd04c0c84692e9af930bdd3f7b4230 (patch) | |
tree | ba5b87976b28b0c550962bf71834a87c5d97b0f9 /tools/perf/scripts/python/syscall-counts.py | |
parent | ceed40d79956d6e40882a8b4fa34a2f91ac2513a (diff) |
ethernet: s2io: 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/20220927022802.16050-1-shangxiaojing@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions