diff options
| author | Bhaktipriya Shridhar <[email protected]> | 2016-02-19 01:00:13 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-20 15:04:11 -0800 |
| commit | bfb7ff2c0bf322a1780e1cf2479ace7a5beb8ab9 (patch) | |
| tree | f6094d5078069113ff655b79ad8fdccdbcc30789 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 382f00561cf322d63bd5f946f226ec630ee9866a (diff) | |
staging: rtl8723au: hal: Use macro ARRAY_SIZE
The macro ARRAY_SIZE is more concise to use instead of dividing
size of the array by the size of its type.
Changes were made using Coccinelle.
@@
type T;
T[] E;
@@
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
Signed-off-by: Bhaktipriya Shridhar <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions