aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorSouptick Joarder <[email protected]>2020-11-28 03:20:55 +0530
committerBjorn Andersson <[email protected]>2020-12-10 13:23:15 -0600
commitcca21000261b2364991ecdb0d9e66b26ad9c4b4e (patch)
tree15acef0c9df865b25c688ff318f6a4c8eae80984 /net/switchdev/switchdev.c
parent6dfdf6e4e7096fead7755d47d91d72e896bb4804 (diff)
remoteproc/mediatek: Fix kernel test robot warning
Kernel test robot throws below warning -> >> drivers/remoteproc/mtk_scp.c:755:37: warning: unused variable >> 'mt8183_of_data' [-Wunused-const-variable] static const struct mtk_scp_of_data mt8183_of_data = { ^ >> drivers/remoteproc/mtk_scp.c:765:37: warning: unused variable >> 'mt8192_of_data' [-Wunused-const-variable] static const struct mtk_scp_of_data mt8192_of_data = { ^ As suggested by Bjorn, there's no harm in just dropping the of_match_ptr() wrapping of mtk_scp_of_match in the definition of mtk_scp_driver and we avoid this whole problem. Reported-by: kernel test robot <[email protected]> Suggested-by: Bjorn Andersson <[email protected]> Signed-off-by: Souptick Joarder <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions