summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/gspca.h
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-19 21:16:26 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-11-19 21:16:26 +0100
commitcd230a7b1b0e074e4dcf674043ffc64bee3bdab2 (patch)
tree263d1c1f6734bc7c747faf517004a654dda80326 /linux/drivers/media/video/gspca/gspca.h
parentec61b66eb8aaf86b73140a52ba756f40a9121af4 (diff)
downloadmediapointer-dvb-s2-cd230a7b1b0e074e4dcf674043ffc64bee3bdab2.tar.gz
mediapointer-dvb-s2-cd230a7b1b0e074e4dcf674043ffc64bee3bdab2.tar.bz2
gspca: Remove the event counter and simplify the frame wait.
From: Hans de Goede <hdegoede@redhat.com> Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/gspca.h')
-rw-r--r--linux/drivers/media/video/gspca/gspca.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.h b/linux/drivers/media/video/gspca/gspca.h
index dcfc6fd2a..15db13296 100644
--- a/linux/drivers/media/video/gspca/gspca.h
+++ b/linux/drivers/media/video/gspca/gspca.h
@@ -155,7 +155,6 @@ struct gspca_dev {
__u16 height;
__u32 sequence; /* frame sequence number */
- atomic_t nevent; /* number of frames done */
wait_queue_head_t wq; /* wait queue */
struct mutex usb_lock; /* usb exchange protection */
struct mutex read_lock; /* read protection */