aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorzhong jiang <[email protected]>2018-08-03 14:53:14 +0800
committerDavid S. Miller <[email protected]>2018-08-04 13:23:15 -0700
commitbf37afceaf549ce9ef50e3042f64d257a3d4be80 (patch)
tree3404c313fa03e4b5b31789e170a6883984d33dd6 /scripts/gdb/linux/utils.py
parentf13b546847ff5862ea313f3e79010c52c3fe32b4 (diff)
net:usb: Use ARRAY_SIZE instead of calculating the array size
We use ARRAY_SIZE to replace open code sizeof(lan78xx_regs) / sizeof(u32). It make the code concise. Signed-off-by: zhong jiang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions