diff options
author | Steven Toth <stoth@kernellabs.com> | 2010-07-31 15:55:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 07:55:00 -0200 |
commit | 7c1618227e6932fcd92597507ee63c01da73e623 (patch) | |
tree | a05c3d9dfc40c71d005ff9071a828a1b45a33ed6 /drivers/media/video/saa7164/saa7164-encoder.c | |
parent | cfbaf33733b99d214d5616dcb48a690630c19d65 (diff) |
[media] saa7164: code cleanup
Removed some previous debugging code, whitespace cleanup and
spurious comments.
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-encoder.c')
-rw-r--r-- | drivers/media/video/saa7164/saa7164-encoder.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/video/saa7164/saa7164-encoder.c b/drivers/media/video/saa7164/saa7164-encoder.c index b904c61f8f8..08b62e41c46 100644 --- a/drivers/media/video/saa7164/saa7164-encoder.c +++ b/drivers/media/video/saa7164/saa7164-encoder.c @@ -1008,7 +1008,6 @@ struct saa7164_user_buffer *saa7164_enc_next_buf(struct saa7164_port *port) struct saa7164_user_buffer *buf = 0; struct saa7164_dev *dev = port->dev; u32 crc; - u32 *d; mutex_lock(&port->dmaqueue_lock); if (!list_empty(&port->list_buf_used.list)) { @@ -1021,13 +1020,6 @@ struct saa7164_user_buffer *saa7164_enc_next_buf(struct saa7164_port *port) buf, buf->crc, crc); } - d = (u32 *)buf->data; - - if ((*d & 0xffffff) > (port->read_counter + 0x2000)) - printk(KERN_ERR "%s() *d 0x%x port %p\n", __func__, *d, port); - - port->read_counter = *d; - } mutex_unlock(&port->dmaqueue_lock); |