[media] media: pci: saa7134: saa7134-video.c: Remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 1 Jan 2015 17:03:35 +0000 (14:03 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 27 Jan 2015 12:10:23 +0000 (10:10 -0200)
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>
drivers/media/pci/saa7134/saa7134-video.c

index 701b52f34689911a9ad01dda158e3afcad2b545e..99d09a7566d3b2164402dc80aa0f07903e05b85a 100644 (file)
@@ -1084,11 +1084,6 @@ static int saa7134_s_ctrl(struct v4l2_ctrl *ctrl)
 
 /* ------------------------------------------------------------------ */
 
-static inline struct vb2_queue *saa7134_queue(struct file *file)
-{
-       return video_devdata(file)->queue;
-}
-
 static int video_open(struct file *file)
 {
        struct video_device *vdev = video_devdata(file);