Files
linux/drivers
Zhang Zekun 2cbece60a4 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 <zhangzekun11@huawei.com>
Reviewed-by: Jijie Shao<shaojijie@huawei.com>
Link: https://patch.msgid.link/20240818052518.45489-1-zhangzekun11@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-08-20 15:18:21 -07:00
..
2024-07-29 10:44:48 -07:00
2024-07-31 07:40:10 -07:00
2024-07-31 12:31:27 +02:00