diff options
author | Bastien Nocera <hadess@hadess.net> | 2023-03-02 13:55:50 +0300 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2023-04-03 14:30:08 +0300 |
commit | e0138763be2d8bcc181c2f6110ef0f66979f1ce4 (patch) | |
tree | 58efa8f7e7bfb3b98acde9418a3796fbdb555813 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5b3691d15e04b6d5a32c915577b8dbc5cfb56382 (diff) | |
download | linux-e0138763be2d8bcc181c2f6110ef0f66979f1ce4.tar.xz |
HID: logitech-hidpp: Simplify array length check
Use the compiler to force a 100-length array, rather than check the
length after the fact.
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Link: https://lore.kernel.org/r/20230302105555.51417-1-hadess@hadess.net
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions