diff options
author | Arnd Bergmann <[email protected]> | 2020-12-03 23:30:56 +0100 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2020-12-07 14:49:42 +0100 |
commit | eca6ba20f38cfa2f148d7bd13db7ccd19e88635b (patch) | |
tree | 963e86bac9942749aefa54b676998751721ab47a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 06706da2bb5e239df31f39c7247087ac07fb039e (diff) |
platform/x86: mlx-platform: remove an unused variable
The only reference to the mlxplat_mlxcpld_psu[] array got removed,
so there is now a warning from clang:
drivers/platform/x86/mlx-platform.c:322:30: error: variable 'mlxplat_mlxcpld_psu' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
static struct i2c_board_info mlxplat_mlxcpld_psu[] = {
Remove the array as well and adapt the ARRAY_SIZE() call
accordingly.
Fixes: 912b341585e3 ("platform/x86: mlx-platform: Remove PSU EEPROM from MSN274x platform configuration")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Vadim Pasternak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions