Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0badd3c7 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent df584331
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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);