diff options
author | 2022-09-27 10:29:19 +0800 | |
---|---|---|
committer | 2022-09-27 10:43:10 -0300 | |
commit | cbdae01d8b517b81ed271981395fee8ebd08ba7d (patch) | |
tree | 016e86d7afda2d2dea4d05fafad690d088e08a07 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | RDMA/hns: Unified Log Printing Style (diff) | |
download | linux-dev-cbdae01d8b517b81ed271981395fee8ebd08ba7d.tar.xz linux-dev-cbdae01d8b517b81ed271981395fee8ebd08ba7d.zip |
IB/hfi1: 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.
Link: https://lore.kernel.org/r/20220927022919.16902-1-shangxiaojing@huawei.com
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions