Browse Source

V4L/DVB (12372): saa7134: fix lock imbalance

There seems to be one superfluos unlock in a poll function. Remove it.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Jiri Slaby 16 years ago
parent
commit
b9ab3508ef
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/media/video/saa7134/saa7134-video.c

+ 0 - 1
drivers/media/video/saa7134/saa7134-video.c

@@ -1444,7 +1444,6 @@ video_poll(struct file *file, struct poll_table_struct *wait)
 			fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf);
 			fh->cap.read_off = 0;
 		}
-		mutex_unlock(&fh->cap.vb_lock);
 		buf = fh->cap.read_buf;
 	}