diff options
| author | Erick Archer <[email protected]> | 2024-05-18 10:30:39 +0200 |
|---|---|---|
| committer | Luiz Augusto von Dentz <[email protected]> | 2024-07-14 21:33:30 -0400 |
| commit | c61e41121036aa610e904ef60f8520e10455ee8c (patch) | |
| tree | 0b29e2a9eef7826ff560334032f314352f54f15d /tools/perf/scripts/python/bin/intel-pt-events-record | |
| parent | 8f7dfe171c576aaec4911cc59feaed26d79c7c7f (diff) | |
Bluetooth: hci_core: Prefer array indexing over pointer arithmetic
Refactor the list_for_each_entry() loop of hci_get_dev_list()
function to use array indexing instead of pointer arithmetic.
This way, the code is more readable and idiomatic.
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Erick Archer <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/intel-pt-events-record')
0 files changed, 0 insertions, 0 deletions