diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-03-29 07:50:25 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-04-06 13:43:58 +0300 |
commit | 3e9adae9336f1d530f342e5d5fbfc7d349f25b95 (patch) | |
tree | 1035f1d81be484b924907e713b3f50de3f7ee283 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e82882cdd241b78d305df1441c624fbbbd07af05 (diff) | |
download | linux-3e9adae9336f1d530f342e5d5fbfc7d349f25b95.tar.xz |
platform/x86: think-lmi: Remove unnecessary casts for attributes
These casts are unnecessary and could break if structure layouts are
randomized or implementation details change.
Use the proper syntax that works without casts.
Also remove some unnecessary braces that checkpatch complains about.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20230329-think-lmi-attrs-v1-1-5794f2367cc2@weissschuh.net
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions