net: ax88796c: Use skb_put_data() instead of skb_put/memcpy pair
authorShang XiaoJing <shangxiaojing@huawei.com>
Tue, 27 Sep 2022 02:30:43 +0000 (10:30 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 29 Sep 2022 07:37:29 +0000 (09:37 +0200)
commit85e69a7dd693667b3e3114713d61edef7552ca88
tree89a488118a57aed2d4d47d8f8e1aa53e987de9a8
parent1469327bb3dd04c0c84692e9af930bdd3f7b4230
net: ax88796c: Use skb_put_data() instead of skb_put/memcpy pair

Use skb_put_data() instead of skb_put() and memcpy(), which is clear.

Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Link: https://lore.kernel.org/r/20220927023043.17769-1-shangxiaojing@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/asix/ax88796c_main.c