diff options
| author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-09-27 05:28:02 +0300 | 
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2022-09-29 10:19:09 +0300 | 
| commit | 1469327bb3dd04c0c84692e9af930bdd3f7b4230 (patch) | |
| tree | ba5b87976b28b0c550962bf71834a87c5d97b0f9 /tools/perf/scripts/python/netdev-times.py | |
| parent | ceed40d79956d6e40882a8b4fa34a2f91ac2513a (diff) | |
| download | linux-1469327bb3dd04c0c84692e9af930bdd3f7b4230.tar.xz | |
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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
