diff options
author | 2022-09-27 10:28:02 +0800 | |
---|---|---|
committer | 2022-09-29 09:19:09 +0200 | |
commit | 1469327bb3dd04c0c84692e9af930bdd3f7b4230 (patch) | |
tree | ba5b87976b28b0c550962bf71834a87c5d97b0f9 /net/lapb/lapb_subr.c | |
parent | Merge tag 'mlx5-updates-2022-09-27' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff) | |
download | linux-rng-1469327bb3dd04c0c84692e9af930bdd3f7b4230.tar.xz linux-rng-1469327bb3dd04c0c84692e9af930bdd3f7b4230.zip |
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions