diff options
author | George McCollister <[email protected]> | 2021-02-09 15:12:55 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-02-11 13:17:04 -0800 |
commit | 3e0103a35a46b5f3dc7e3fe0f09eb2fc5e0456e6 (patch) | |
tree | babbee481ac299f864c2d355e94f5a5896c673e7 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 3a926b0e9c589172fb7fd6faf2c8fc8a6380d113 (diff) |
net: dsa: xrs700x: fix unused warning for of_device_id
Fix unused variable warning that occurs when CONFIG_OF isn't defined by
adding __maybe_unused.
>> drivers/net/dsa/xrs700x/xrs700x_i2c.c:127:34: warning: unused
variable 'xrs700x_i2c_dt_ids' [-Wunused-const-variable]
static const struct of_device_id xrs700x_i2c_dt_ids[] = {
Reported-by: kernel test robot <[email protected]>
Signed-off-by: George McCollister <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions