diff options
author | 2022-09-27 19:19:25 +0800 | |
---|---|---|
committer | 2022-09-29 09:57:23 +0200 | |
commit | 1a0c667ea8e34edbad27f9c7f435e4825fab2163 (patch) | |
tree | 9a0f903fc40fe34a4a4d5b7d7d6bf9f5d837378b /net/lapb/lapb_subr.c | |
parent | wwan_hwsim: Use skb_put_data() instead of skb_put/memcpy pair (diff) | |
download | linux-rng-1a0c667ea8e34edbad27f9c7f435e4825fab2163.tar.xz linux-rng-1a0c667ea8e34edbad27f9c7f435e4825fab2163.zip |
net: ethernet: mtk_eth_soc: use DEFINE_SHOW_ATTRIBUTE to simplify code
Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.
No functional change.
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20220927111925.2424100-1-liushixin2@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