V4L/DVB (11415): gspca - m5602: Remove an unused member in the sd struct.
authorErik Andr?n <erik.andren@gmail.com>
Tue, 30 Dec 2008 20:18:23 +0000 (17:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:41 +0000 (21:44 -0300)
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>
drivers/media/video/gspca/m5602/m5602_bridge.h
drivers/media/video/gspca/m5602/m5602_sensor.h

index 9ff41006673b48c13cc808b419d9116f49a45a03..de76a16130151cb9ba96904e23c06b6679125fa2 100644 (file)
@@ -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;
 
index b3e82af650662ef8a59722cbc155ee4780ca0161..5c8fb7abae54e0a68c8011a9b75d0f84607ff24c 100644 (file)
@@ -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,