aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2015-01-01 12:03:35 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-01-27 07:10:23 -0500
commit0badd3c79b3a37c3586ee8a8ca32cf73ef9bb340 (patch)
tree06a5ea6b9e4620667c7bc2fdfda197354705a394
parentdf58433145eeafd541289b03885b1b4c798fff32 (diff)
[media] media: pci: saa7134: saa7134-video.c: Remove unused function
Remove the function saa7134_queue() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/pci/saa7134/saa7134-video.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-video.c b/drivers/media/pci/saa7134/saa7134-video.c
index 701b52f34689..99d09a7566d3 100644
--- a/drivers/media/pci/saa7134/saa7134-video.c
+++ b/drivers/media/pci/saa7134/saa7134-video.c
@@ -1084,11 +1084,6 @@ static int saa7134_s_ctrl(struct v4l2_ctrl *ctrl)
1084 1084
1085/* ------------------------------------------------------------------ */ 1085/* ------------------------------------------------------------------ */
1086 1086
1087static inline struct vb2_queue *saa7134_queue(struct file *file)
1088{
1089 return video_devdata(file)->queue;
1090}
1091
1092static int video_open(struct file *file) 1087static int video_open(struct file *file)
1093{ 1088{
1094 struct video_device *vdev = video_devdata(file); 1089 struct video_device *vdev = video_devdata(file);