diff options
| author | 2015-10-09 00:55:19 +0530 | |
|---|---|---|
| committer | 2015-10-12 20:45:38 -0700 | |
| commit | e525e7a63ba4b544f47fe57a3ed3480af288f8eb (patch) | |
| tree | d916aa060dec9167794ceb2604bf60719bf50f0d /scripts/basic/Makefile | |
| parent | staging: rtl8188eu: unused macro read_next_pair removed (diff) | |
Staging: rtl8188eu: core: Use ARRAY_SIZE macro
ARRAY_SIZE is more concise to use when the size of an array is divided
by the size of its type.
Changes made using Coccinelle-
@@
type T;
T[] E;
@@
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic/Makefile')
0 files changed, 0 insertions, 0 deletions
