diff options
| author | Todd Fujinaka <[email protected]> | 2015-06-30 15:16:55 -0700 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2015-07-23 05:08:30 -0700 |
| commit | 9fa0452b645efdff439948a5cf448b8e497340e9 (patch) | |
| tree | de32c032e6834c07b5218f5c54202b93b1cf4e31 /tools/perf/scripts/python | |
| parent | 0c5bbeb8839172990e3b8aa82ae3c166e85a09bc (diff) | |
igb: use ARRAY_SIZE to replace calculating sizeof(a)/sizeof(a[0])
Use the ARRAY_SIZE macro rather than calculating sizeof(a)/sizeof(a[0]).
Also directly replace the code rather than using an unnecessary define.
Reported-by: Maninder Singh <[email protected]>
Reported-by: Joe Perches <[email protected]>
Signed-off-by: Todd Fujinaka <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions