diff options
author | Erik Andr?n <erik.andren@gmail.com> | 2008-12-30 15:18:23 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-06 20:44:41 -0400 |
commit | 71b755b08e9946592c5354fbe6373eff7660ccbd (patch) | |
tree | 077922211749f9cc92efc315caffe4aa67ddd152 /drivers/media | |
parent | e17cc08c2f0d714715c8c737899a6b9732c868b2 (diff) |
V4L/DVB (11415): gspca - m5602: Remove an unused member in the sd struct.
Remove an unused sd struct member. Remove a redundant define while we're at it.
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_bridge.h | 3 | ||||
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_sensor.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_bridge.h b/drivers/media/video/gspca/m5602/m5602_bridge.h index 9ff41006673b..de76a1613015 100644 --- a/drivers/media/video/gspca/m5602/m5602_bridge.h +++ b/drivers/media/video/gspca/m5602/m5602_bridge.h | |||
@@ -112,9 +112,6 @@ static const unsigned char sensor_urb_skeleton[] = { | |||
112 | struct sd { | 112 | struct sd { |
113 | struct gspca_dev gspca_dev; | 113 | struct gspca_dev gspca_dev; |
114 | 114 | ||
115 | /* The name of the m5602 camera */ | ||
116 | char *name; | ||
117 | |||
118 | /* A pointer to the currently connected sensor */ | 115 | /* A pointer to the currently connected sensor */ |
119 | const struct m5602_sensor *sensor; | 116 | const struct m5602_sensor *sensor; |
120 | 117 | ||
diff --git a/drivers/media/video/gspca/m5602/m5602_sensor.h b/drivers/media/video/gspca/m5602/m5602_sensor.h index b3e82af65066..5c8fb7abae54 100644 --- a/drivers/media/video/gspca/m5602/m5602_sensor.h +++ b/drivers/media/video/gspca/m5602/m5602_sensor.h | |||
@@ -21,9 +21,6 @@ | |||
21 | 21 | ||
22 | #include "m5602_bridge.h" | 22 | #include "m5602_bridge.h" |
23 | 23 | ||
24 | #define M5602_DEFAULT_FRAME_WIDTH 640 | ||
25 | #define M5602_DEFAULT_FRAME_HEIGHT 480 | ||
26 | |||
27 | /* Enumerates all supported sensors */ | 24 | /* Enumerates all supported sensors */ |
28 | enum sensors { | 25 | enum sensors { |
29 | OV9650_SENSOR = 1, | 26 | OV9650_SENSOR = 1, |