media: rkvdec: Remove of_match_ptr()
authorFabio Estevam <festevam@gmail.com>
Sat, 20 Mar 2021 12:21:52 +0000 (13:21 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 12:06:20 +0000 (13:06 +0100)
commitc2357dd9cbafc8ed37156e32c24884cfa8380b2f
tree4fa88a5597380e7a126efb9109b7c6217cf32b09
parent54b74981c86c2af49d39cafaec414c86a49e4164
media: rkvdec: Remove of_match_ptr()

When building with CONFIG_OF not set, the following clang
build warning is seen:

>> drivers/staging/media/rkvdec/rkvdec.c:967:34: warning: unused variable 'of_rkvdec_match' [-Wunused-const-variable]

Fix the warning by removing the unnecessary of_match_ptr().

Reported-by: kernel test robot <lkp@intel.com>
Fixes: cd33c830448b ("media: rkvdec: Add the rkvdec driver")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkvdec/rkvdec.c