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

Commit a2ba6f27 authored by Jean-François Moine's avatar Jean-François Moine Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB: gspca - main: Fix a compilation warning

parent b5f5933a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1467,7 +1467,8 @@ static int vidioc_reqbufs(struct file *file, void *priv,
	struct gspca_dev *gspca_dev = priv;
	int i, ret = 0, streaming;

	switch (rb->memory) {
	i = rb->memory;			/* (avoid compilation warning) */
	switch (i) {
	case GSPCA_MEMORY_READ:			/* (internal call) */
	case V4L2_MEMORY_MMAP:
	case V4L2_MEMORY_USERPTR: