|
@@ -598,11 +598,6 @@ static int s2255_got_frame(struct s2255_dev *dev, int chn, int jpgsize)
|
|
|
buf = list_entry(dma_q->active.next,
|
|
|
struct s2255_buffer, vb.queue);
|
|
|
|
|
|
- if (!waitqueue_active(&buf->vb.done)) {
|
|
|
- /* no one active */
|
|
|
- rc = -1;
|
|
|
- goto unlock;
|
|
|
- }
|
|
|
list_del(&buf->vb.queue);
|
|
|
do_gettimeofday(&buf->vb.ts);
|
|
|
dprintk(100, "[%p/%d] wakeup\n", buf, buf->vb.i);
|