Skip to content

Commit 0badd3c

Browse files
Rickard Strandqvistmchehab
Rickard Strandqvist
authored andcommittedJan 27, 2015
[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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent df58433 commit 0badd3c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎drivers/media/pci/saa7134/saa7134-video.c

-5
Original file line numberDiff line numberDiff line change
@@ -1084,11 +1084,6 @@ static int saa7134_s_ctrl(struct v4l2_ctrl *ctrl)
10841084

10851085
/* ------------------------------------------------------------------ */
10861086

1087-
static inline struct vb2_queue *saa7134_queue(struct file *file)
1088-
{
1089-
return video_devdata(file)->queue;
1090-
}
1091-
10921087
static int video_open(struct file *file)
10931088
{
10941089
struct video_device *vdev = video_devdata(file);

0 commit comments

Comments
 (0)
Please sign in to comment.