aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/pci_endpoint_test.c
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2021-09-02 15:01:05 -0700
committerLinus Torvalds <[email protected]>2021-09-03 09:58:18 -0700
commit64632fd3eb4611780a1190362f2119d8f2bb5465 (patch)
tree02154b1176d4da1a7e818ed2dc4247c4d3c32c20 /drivers/misc/pci_endpoint_test.c
parentea15ba17b434b7dd7f92bb85b7e5cf53707733ad (diff)
mm/vmstat: simplify the array size calculation
We can replace the array_num * sizeof(array[0]) with sizeof(array) to simplify the code. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions