Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Rickard Strandqvist and committed by
Mauro Carvalho Chehab
0badd3c7 df584331

-5
-5
drivers/media/pci/saa7134/saa7134-video.c
··· 1084 1084 1085 1085 /* ------------------------------------------------------------------ */ 1086 1086 1087 - static inline struct vb2_queue *saa7134_queue(struct file *file) 1088 - { 1089 - return video_devdata(file)->queue; 1090 - } 1091 - 1092 1087 static int video_open(struct file *file) 1093 1088 { 1094 1089 struct video_device *vdev = video_devdata(file);