diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-06-24 15:52:43 +0100 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-07-16 16:00:51 +0200 |
| commit | cd516571e975b2d2ed4aeac47c87a3064e2b2633 (patch) | |
| tree | 171d942d09d72237da3805bcf333de561757939c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 96979634af39a3f176f3c213fdaee274e869057c (diff) | |
dm: lookup_ioctl(): Use designated array initialers
Use designated initialisers for the _ioctls[] array and delete the
unused field that contained the array index.
Makes the code more robust against the order of the initialers.
Any uninitialised entries would be processed corretly.
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
