diff options
author | Gerhard Engleder <gerhard@engleder-embedded.com> | 2022-08-04 20:39:34 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-08 20:44:28 -0700 |
commit | 73afd7816c551c8da1c8f41462110a46a317eefb (patch) | |
tree | af746397f9670a42716f4e0635950a16ae28cf26 /lib/mpi/mpi-cmp.c | |
parent | f574f7f839fc1753467b52417591cf2668825a92 (diff) |
tsnep: Fix unused warning for 'tsnep_of_match'
Kernel test robot found the following warning:
drivers/net/ethernet/engleder/tsnep_main.c:1254:34: warning:
'tsnep_of_match' defined but not used [-Wunused-const-variable=]
of_match_ptr() compiles into NULL if CONFIG_OF is disabled.
tsnep_of_match exists always so use of of_match_ptr() is useless.
Fix warning by dropping of_match_ptr().
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions