diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-12-02 20:53:44 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-12-21 11:23:09 -0500 |
commit | cc91de5fad155fdfb40856ac65f29f080b9b42ab (patch) | |
tree | 6107afaa3c7b27e1d2298183006fae5a25f9b8be /drivers/media/platform/davinci | |
parent | e276f03b4f29fcc54d8e658d5de8dd953e4aef1e (diff) |
[media] davinci: vpbe: remove unused variable in vpbe_initialize()
The variable 'output_index' is initialized but never used
otherwise, so remove the unused variable.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Prabhakar Lad <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/davinci')
-rw-r--r-- | drivers/media/platform/davinci/vpbe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/davinci/vpbe.c b/drivers/media/platform/davinci/vpbe.c index dd670cdb2c2a..fe2b9ce0bce8 100644 --- a/drivers/media/platform/davinci/vpbe.c +++ b/drivers/media/platform/davinci/vpbe.c | |||
@@ -584,7 +584,6 @@ static int vpbe_initialize(struct device *dev, struct vpbe_device *vpbe_dev) | |||
584 | struct v4l2_subdev **enc_subdev; | 584 | struct v4l2_subdev **enc_subdev; |
585 | struct osd_state *osd_device; | 585 | struct osd_state *osd_device; |
586 | struct i2c_adapter *i2c_adap; | 586 | struct i2c_adapter *i2c_adap; |
587 | int output_index; | ||
588 | int num_encoders; | 587 | int num_encoders; |
589 | int ret = 0; | 588 | int ret = 0; |
590 | int err; | 589 | int err; |
@@ -731,7 +730,6 @@ static int vpbe_initialize(struct device *dev, struct vpbe_device *vpbe_dev) | |||
731 | /* set the current encoder and output to that of venc by default */ | 730 | /* set the current encoder and output to that of venc by default */ |
732 | vpbe_dev->current_sd_index = 0; | 731 | vpbe_dev->current_sd_index = 0; |
733 | vpbe_dev->current_out_index = 0; | 732 | vpbe_dev->current_out_index = 0; |
734 | output_index = 0; | ||
735 | 733 | ||
736 | mutex_unlock(&vpbe_dev->lock); | 734 | mutex_unlock(&vpbe_dev->lock); |
737 | 735 | ||