diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-14 15:55:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-14 16:10:08 +0200 |
commit | 741043b02c2e00c8fea1a0f6f8ce43c6326cd9e8 (patch) | |
tree | b70bb15fa4e1ed44f81b52e6e2825ed7a354bc91 /drivers/ptp | |
parent | d859a712a378a4f81c387f2afdee437a6a0a6b54 (diff) | |
download | linux-741043b02c2e00c8fea1a0f6f8ce43c6326cd9e8.tar.bz2 |
media: vidtv: don't initialize cnr2qual var
As reported by gcc:
drivers/media/test-drivers/vidtv/vidtv_demod.c: In function 'vidtv_demod_set_frontend':
drivers/media/test-drivers/vidtv/vidtv_demod.c:265:42: warning: variable 'cnr2qual' set but not used [-Wunused-but-set-variable]
265 | const struct vidtv_demod_cnr_to_qual_s *cnr2qual = NULL;
| ^~~~~~~~
It turns that the var is not needed at all. So, just drop it.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions