提交 71b755b0 编写于 作者: E Erik Andr?n 提交者: Mauro Carvalho Chehab

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: NErik Andrén <erik.andren@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 e17cc08c
...@@ -112,9 +112,6 @@ static const unsigned char sensor_urb_skeleton[] = { ...@@ -112,9 +112,6 @@ static const unsigned char sensor_urb_skeleton[] = {
struct sd { struct sd {
struct gspca_dev gspca_dev; struct gspca_dev gspca_dev;
/* The name of the m5602 camera */
char *name;
/* A pointer to the currently connected sensor */ /* A pointer to the currently connected sensor */
const struct m5602_sensor *sensor; const struct m5602_sensor *sensor;
......
...@@ -21,9 +21,6 @@ ...@@ -21,9 +21,6 @@
#include "m5602_bridge.h" #include "m5602_bridge.h"
#define M5602_DEFAULT_FRAME_WIDTH 640
#define M5602_DEFAULT_FRAME_HEIGHT 480
/* Enumerates all supported sensors */ /* Enumerates all supported sensors */
enum sensors { enum sensors {
OV9650_SENSOR = 1, OV9650_SENSOR = 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册