aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2014-03-22 09:01:01 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-23 11:06:07 -0400
commit88d285965c97f2e6fc878cb2aeff6511b22353e5 (patch)
treeed28983350bead697a0767bd90e03f277cfcfeba
parent5869778301d3692b95136a8cdf76bf7baa982567 (diff)
[media] em28xx: remove some unused fields from struct em28xx
Just driver cleanup. No functional changes. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--drivers/media/usb/em28xx/em28xx.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h
index 231343388d4a..e72def688f70 100644
--- a/drivers/media/usb/em28xx/em28xx.h
+++ b/drivers/media/usb/em28xx/em28xx.h
@@ -619,7 +619,6 @@ struct em28xx {
619 unsigned hscale; /* horizontal scale factor (see datasheet) */ 619 unsigned hscale; /* horizontal scale factor (see datasheet) */
620 unsigned vscale; /* vertical scale factor (see datasheet) */ 620 unsigned vscale; /* vertical scale factor (see datasheet) */
621 int interlaced; /* 1=interlace fileds, 0=just top fileds */ 621 int interlaced; /* 1=interlace fileds, 0=just top fileds */
622 unsigned int video_bytesread; /* Number of bytes read */
623 622
624 unsigned long hash; /* eeprom hash - for boards with generic ID */ 623 unsigned long hash; /* eeprom hash - for boards with generic ID */
625 unsigned long i2c_hash; /* i2c devicelist hash - 624 unsigned long i2c_hash; /* i2c devicelist hash -
@@ -639,8 +638,6 @@ struct em28xx {
639 /* locks */ 638 /* locks */
640 struct mutex lock; 639 struct mutex lock;
641 struct mutex ctrl_urb_lock; /* protects urb_buf */ 640 struct mutex ctrl_urb_lock; /* protects urb_buf */
642 /* spinlock_t queue_lock; */
643 struct list_head inqueue, outqueue;
644 struct video_device *vbi_dev; 641 struct video_device *vbi_dev;
645 struct video_device *radio_dev; 642 struct video_device *radio_dev;
646 643
@@ -664,7 +661,6 @@ struct em28xx {
664 spinlock_t slock; 661 spinlock_t slock;
665 662
666 unsigned int field_count; 663 unsigned int field_count;
667 unsigned int vbi_field_count;
668 664
669 /* usb transfer */ 665 /* usb transfer */
670 struct usb_device *udev; /* the usb device */ 666 struct usb_device *udev; /* the usb device */