diff options
author | 2023-10-19 13:30:15 -0500 | |
---|---|---|
committer | 2023-10-21 12:46:35 +0200 | |
commit | cf36d7db25b625e03d363cf8e59114d0f1ff68aa (patch) | |
tree | 0e986cfa2a5c5c704b18eba179af7510749dc4a0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: chipidea: Add support for NPCM (diff) | |
download | wireguard-linux-cf36d7db25b625e03d363cf8e59114d0f1ff68aa.tar.xz wireguard-linux-cf36d7db25b625e03d363cf8e59114d0f1ff68aa.zip |
usb: chipidea: Fix unused ci_hdrc_usb2_of_match warning for !CONFIG_OF
Commit 14485de431b0 ("usb: Use device_get_match_data()") dropped the
unconditional use of ci_hdrc_usb2_of_match resulting in this warning:
drivers/usb/chipidea/ci_hdrc_usb2.c:41:34: warning: unused variable 'ci_hdrc_usb2_of_match' [-Wunused-const-variable]
The fix is to drop of_match_ptr() which is not necessary because DT is
always used for this driver.
Fixes: 14485de431b0 ("usb: Use device_get_match_data()")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310131627.M43j234A-lkp@intel.com/
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20231019183015.841460-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions