diff options
| author | Jakub Raczynski <j.raczynski@samsung.com> | 2026-06-09 14:35:45 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 16:43:47 -0700 |
| commit | 48d588dc9f26baabe18c1efcce9240b42b02046f (patch) | |
| tree | 507ea6e807728dc94b9a376ca7586c137543e42a /scripts/objdiff | |
| parent | 8538aaea10e141457bcb13d51b0d278c697c422a (diff) | |
net/intel: Replace manual array size calculation with ARRAY_SIZE
There are still places in the code where manual calculation of array size
exist, but it is good to enforce usage of single macro through the whole
code as it makes code bit more readable.
While at it, beautify condition surrounding it by reversing check and remove
unnecessary casting.
Signed-off-by: Jakub Raczynski <j.raczynski@samsung.com>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20260609213559.178657-5-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
