diff options
Diffstat (limited to 'drivers/media/video/gspca/jeilinj.c')
-rw-r--r-- | drivers/media/video/gspca/jeilinj.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/jeilinj.c b/drivers/media/video/gspca/jeilinj.c index 06b777f5379e..36dae38b1e38 100644 --- a/drivers/media/video/gspca/jeilinj.c +++ b/drivers/media/video/gspca/jeilinj.c | |||
@@ -183,7 +183,6 @@ static void jlj_dostream(struct work_struct *work) | |||
183 | struct sd *dev = container_of(work, struct sd, work_struct); | 183 | struct sd *dev = container_of(work, struct sd, work_struct); |
184 | struct gspca_dev *gspca_dev = &dev->gspca_dev; | 184 | struct gspca_dev *gspca_dev = &dev->gspca_dev; |
185 | int blocks_left; /* 0x200-sized blocks remaining in current frame. */ | 185 | int blocks_left; /* 0x200-sized blocks remaining in current frame. */ |
186 | int size_in_blocks; | ||
187 | int act_len; | 186 | int act_len; |
188 | int packet_type; | 187 | int packet_type; |
189 | int ret; | 188 | int ret; |
@@ -209,7 +208,6 @@ static void jlj_dostream(struct work_struct *work) | |||
209 | act_len, JEILINJ_MAX_TRANSFER); | 208 | act_len, JEILINJ_MAX_TRANSFER); |
210 | if (ret < 0 || act_len < FRAME_HEADER_LEN) | 209 | if (ret < 0 || act_len < FRAME_HEADER_LEN) |
211 | goto quit_stream; | 210 | goto quit_stream; |
212 | size_in_blocks = buffer[0x0a]; | ||
213 | blocks_left = buffer[0x0a] - 1; | 211 | blocks_left = buffer[0x0a] - 1; |
214 | PDEBUG(D_STREAM, "blocks_left = 0x%x", blocks_left); | 212 | PDEBUG(D_STREAM, "blocks_left = 0x%x", blocks_left); |
215 | 213 | ||