aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/dev_ioctl.c
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-12-02 16:35:56 +0800
committerDavid S. Miller <davem@davemloft.net>2021-12-02 11:53:42 +0000
commita1cfb24d011a39ab65bb154dd85d9f879c6e5e4d (patch)
treee2f80ca140e81327cea18d7501055a55d79952e0 /net/core/dev_ioctl.c
parentnet: hns3: extract macro to simplify ring stats update code (diff)
downloadwireguard-linux-a1cfb24d011a39ab65bb154dd85d9f879c6e5e4d.tar.xz
wireguard-linux-a1cfb24d011a39ab65bb154dd85d9f879c6e5e4d.zip
net: hns3: refactor function hns3_fill_skb_desc to simplify code
The function hns3_fill_skb_desc is hard to read, this patch extract 2 functions and add new a struct data to simplify the code and Improve readability. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions