diff options
author | Erik Andr?n <erik.andren@gmail.com> | 2008-12-30 21:18:23 +0100 |
---|---|---|
committer | Erik Andr?n <erik.andren@gmail.com> | 2008-12-30 21:18:23 +0100 |
commit | 9cc29332cc27df953ca82fd174a1a6c31dcbe67a (patch) | |
tree | 6dbd2a467059b7741c85c709df92db7230deaaa0 /linux/drivers/media/video/gspca | |
parent | 5ad53f606d69a980600f067aac469e09dec84f70 (diff) | |
download | mediapointer-dvb-s2-9cc29332cc27df953ca82fd174a1a6c31dcbe67a.tar.gz mediapointer-dvb-s2-9cc29332cc27df953ca82fd174a1a6c31dcbe67a.tar.bz2 |
gspca - m5602: Remove an unused member in the sd struct.
From: Erik Andr?n <erik.andren@gmail.com>
Remove an unused sd struct member. Remove a redundant define while we're at it.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/gspca')
-rw-r--r-- | linux/drivers/media/video/gspca/m5602/m5602_bridge.h | 3 | ||||
-rw-r--r-- | linux/drivers/media/video/gspca/m5602/m5602_sensor.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_bridge.h b/linux/drivers/media/video/gspca/m5602/m5602_bridge.h index 9ff410066..de76a1613 100644 --- a/linux/drivers/media/video/gspca/m5602/m5602_bridge.h +++ b/linux/drivers/media/video/gspca/m5602/m5602_bridge.h @@ -112,9 +112,6 @@ static const unsigned char sensor_urb_skeleton[] = { struct sd { struct gspca_dev gspca_dev; - /* The name of the m5602 camera */ - char *name; - /* A pointer to the currently connected sensor */ const struct m5602_sensor *sensor; diff --git a/linux/drivers/media/video/gspca/m5602/m5602_sensor.h b/linux/drivers/media/video/gspca/m5602/m5602_sensor.h index b3e82af65..5c8fb7aba 100644 --- a/linux/drivers/media/video/gspca/m5602/m5602_sensor.h +++ b/linux/drivers/media/video/gspca/m5602/m5602_sensor.h @@ -21,9 +21,6 @@ #include "m5602_bridge.h" -#define M5602_DEFAULT_FRAME_WIDTH 640 -#define M5602_DEFAULT_FRAME_HEIGHT 480 - /* Enumerates all supported sensors */ enum sensors { OV9650_SENSOR = 1, |