aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2008-11-19 15:16:26 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:38:06 -0500
commit181b704fd3e32cdf779bc4d5b99d43a4b2c25985 (patch)
tree27218613f61174b1d2acdbc28f65eed96bac19b1 /drivers/media/video/gspca/gspca.h
parent3480130a502a528373f98fb852d2b3fc5f73e58b (diff)
V4L/DVB (9707): gspca: Remove the event counter and simplify the frame wait.
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r--drivers/media/video/gspca/gspca.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index dcfc6fd2a402..15db13296b83 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -155,7 +155,6 @@ struct gspca_dev {
155 __u16 height; 155 __u16 height;
156 __u32 sequence; /* frame sequence number */ 156 __u32 sequence; /* frame sequence number */
157 157
158 atomic_t nevent; /* number of frames done */
159 wait_queue_head_t wq; /* wait queue */ 158 wait_queue_head_t wq; /* wait queue */
160 struct mutex usb_lock; /* usb exchange protection */ 159 struct mutex usb_lock; /* usb exchange protection */
161 struct mutex read_lock; /* read protection */ 160 struct mutex read_lock; /* read protection */