summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2014-03-22 10:01:01 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-23 12:06:07 -0300
commit88d285965c97f2e6fc878cb2aeff6511b22353e5 (patch)
treeed28983350bead697a0767bd90e03f277cfcfeba /drivers
parent5869778301d3692b95136a8cdf76bf7baa982567 (diff)
downloadop-kernel-dev-88d285965c97f2e6fc878cb2aeff6511b22353e5.zip
op-kernel-dev-88d285965c97f2e6fc878cb2aeff6511b22353e5.tar.gz
[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>
Diffstat (limited to 'drivers')
-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 2313433..e72def6 100644
--- a/drivers/media/usb/em28xx/em28xx.h
+++ b/drivers/media/usb/em28xx/em28xx.h
@@ -619,7 +619,6 @@ struct em28xx {
unsigned hscale; /* horizontal scale factor (see datasheet) */
unsigned vscale; /* vertical scale factor (see datasheet) */
int interlaced; /* 1=interlace fileds, 0=just top fileds */
- unsigned int video_bytesread; /* Number of bytes read */
unsigned long hash; /* eeprom hash - for boards with generic ID */
unsigned long i2c_hash; /* i2c devicelist hash -
@@ -639,8 +638,6 @@ struct em28xx {
/* locks */
struct mutex lock;
struct mutex ctrl_urb_lock; /* protects urb_buf */
- /* spinlock_t queue_lock; */
- struct list_head inqueue, outqueue;
struct video_device *vbi_dev;
struct video_device *radio_dev;
@@ -664,7 +661,6 @@ struct em28xx {
spinlock_t slock;
unsigned int field_count;
- unsigned int vbi_field_count;
/* usb transfer */
struct usb_device *udev; /* the usb device */
OpenPOWER on IntegriCloud