diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-11-13 07:21:03 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:41:59 -0500 |
commit | 76dd272b56cd1c7fa013ef5d7eb28c4d319e322b (patch) | |
tree | 4cd4660a847d2c1fdd9104ce4cff92b647e09b15 /drivers/media/video/gspca/stv0680.c | |
parent | d131c3c9e136cb5a817094c3dc4b7261b495cd6e (diff) |
V4L/DVB (13453): gspca - all subdrivers: Remove the unused frame ptr from pkt_scan().
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/stv0680.c')
-rw-r--r-- | drivers/media/video/gspca/stv0680.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/stv0680.c b/drivers/media/video/gspca/stv0680.c index 0981ce14235..2a69d7ccb50 100644 --- a/drivers/media/video/gspca/stv0680.c +++ b/drivers/media/video/gspca/stv0680.c | |||
@@ -281,8 +281,7 @@ static void sd_stop0(struct gspca_dev *gspca_dev) | |||
281 | } | 281 | } |
282 | 282 | ||
283 | static void sd_pkt_scan(struct gspca_dev *gspca_dev, | 283 | static void sd_pkt_scan(struct gspca_dev *gspca_dev, |
284 | struct gspca_frame *frame, | 284 | u8 *data, |
285 | __u8 *data, | ||
286 | int len) | 285 | int len) |
287 | { | 286 | { |
288 | struct sd *sd = (struct sd *) gspca_dev; | 287 | struct sd *sd = (struct sd *) gspca_dev; |
@@ -299,10 +298,10 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, | |||
299 | /* Finish the previous frame, we do this upon reception of the next | 298 | /* Finish the previous frame, we do this upon reception of the next |
300 | packet, even though it is already complete so that the strange 16 | 299 | packet, even though it is already complete so that the strange 16 |
301 | byte packets send after a corrupt frame can discard it. */ | 300 | byte packets send after a corrupt frame can discard it. */ |
302 | frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame, NULL, 0); | 301 | gspca_frame_add(gspca_dev, LAST_PACKET, NULL, 0); |
303 | 302 | ||
304 | /* Store the just received frame */ | 303 | /* Store the just received frame */ |
305 | gspca_frame_add(gspca_dev, FIRST_PACKET, frame, data, len); | 304 | gspca_frame_add(gspca_dev, FIRST_PACKET, data, len); |
306 | } | 305 | } |
307 | 306 | ||
308 | /* sub-driver description */ | 307 | /* sub-driver description */ |