diff options
Diffstat (limited to 'drivers/media/video/adv7343.c')
-rw-r--r-- | drivers/media/video/adv7343.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/adv7343.c b/drivers/media/video/adv7343.c index 119b60401bf3..2b5aa676a84e 100644 --- a/drivers/media/video/adv7343.c +++ b/drivers/media/video/adv7343.c | |||
@@ -130,14 +130,12 @@ static int adv7343_setstd(struct v4l2_subdev *sd, v4l2_std_id std) | |||
130 | { | 130 | { |
131 | struct adv7343_state *state = to_state(sd); | 131 | struct adv7343_state *state = to_state(sd); |
132 | struct adv7343_std_info *std_info; | 132 | struct adv7343_std_info *std_info; |
133 | int output_idx, num_std; | 133 | int num_std; |
134 | char *fsc_ptr; | 134 | char *fsc_ptr; |
135 | u8 reg, val; | 135 | u8 reg, val; |
136 | int err = 0; | 136 | int err = 0; |
137 | int i = 0; | 137 | int i = 0; |
138 | 138 | ||
139 | output_idx = state->output; | ||
140 | |||
141 | std_info = (struct adv7343_std_info *)stdinfo; | 139 | std_info = (struct adv7343_std_info *)stdinfo; |
142 | num_std = ARRAY_SIZE(stdinfo); | 140 | num_std = ARRAY_SIZE(stdinfo); |
143 | 141 | ||