aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorZhang Zekun <[email protected]>2024-08-18 13:25:18 +0800
committerJakub Kicinski <[email protected]>2024-08-20 15:18:21 -0700
commit2cbece60a4af03803634abd1e840e513db48d42e (patch)
tree4e8c82ca53d303545061e34fdbae1b49fc4af5fc /lib/debugobjects.c
parent555e5531635a7c5dba663d06cea240362624dfde (diff)
net: hns3: Use ARRAY_SIZE() to improve readability
There is a helper function ARRAY_SIZE() to help calculating the u32 array size, and we don't need to do it mannually. So, let's use ARRAY_SIZE() to calculate the array size, and improve the code readability. Signed-off-by: Zhang Zekun <[email protected]> Reviewed-by: Jijie Shao<[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions