Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1357662
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] [media] v4l2-mc: remove unused dtv_demod variable |
| Date | 2016-03-14 23:50 +0100 |
| Message-ID | <rcJtg-1DY-9@gated-at.bofh.it> (permalink) |
| References | <rcJtg-1DY-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
A recent patch removed the only user of the 'dtv_demod' variable
in v4l2_mc_create_media_graph, but did not remove the declaration,
possibly as a result of an incorrect rebase:
drivers/media/v4l2-core/v4l2-mc.c: In function 'v4l2_mc_create_media_graph':
drivers/media/v4l2-core/v4l2-mc.c:37:55: error: unused variable 'dtv_demod' [-Werror=unused-variable]
This removes the unused variable as well.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 840f5b0572ea ("media: au0828 disable tuner to demod link in au0828_media_device_register()")
---
drivers/media/v4l2-core/v4l2-mc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/v4l2-core/v4l2-mc.c b/drivers/media/v4l2-core/v4l2-mc.c
index 2a7b79bc90fd..2228cd3a846e 100644
--- a/drivers/media/v4l2-core/v4l2-mc.c
+++ b/drivers/media/v4l2-core/v4l2-mc.c
@@ -34,7 +34,7 @@ int v4l2_mc_create_media_graph(struct media_device *mdev)
{
struct media_entity *entity;
struct media_entity *if_vid = NULL, *if_aud = NULL;
- struct media_entity *tuner = NULL, *decoder = NULL, *dtv_demod = NULL;
+ struct media_entity *tuner = NULL, *decoder = NULL;
struct media_entity *io_v4l = NULL, *io_vbi = NULL, *io_swradio = NULL;
bool is_webcam = false;
u32 flags;
--
2.7.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/3] [media] cobalt: add MTD dependency Arnd Bergmann <arnd@arndb.de> - 2016-03-14 23:50 +0100
[PATCH 3/3] [media] v4l2-mc: remove unused dtv_demod variable Arnd Bergmann <arnd@arndb.de> - 2016-03-14 23:50 +0100
[PATCH 2/3] [media] am437x-vfpe: fix typo in vpfe_get_app_input_index Arnd Bergmann <arnd@arndb.de> - 2016-03-14 23:50 +0100
Re: [PATCH 2/3] [media] am437x-vfpe: fix typo in vpfe_get_app_input_index "Lad, Prabhakar" <prabhakar.csengg@gmail.com> - 2016-03-15 19:40 +0100
csiph-web