video-buf.c: remove dead code
PATCH 1/1 video-buf.c: remove dead code
This patch removes code that was both dead and pointless.
Signed-off-by Adrian Bunk <[email protected]>
---d72841ad9ded136818ab054613ab2f3e027af67f
drivers/media/video/video-buf.c +0 -2
@@ -1200,8 +1200,6 @@ videobuf_vm_close(struct vm_area_struct *vma)for (i =0 ; i <VIDEO_MAX_FRAME ; i++) {if (NULL == q->bufs[i])continue ; -if (q->bufs[i]) - ;if (q->bufs[i]->map != map)continue ; q->bufs[i]->map =NULL ;
Adrian,
Em Seg, 2007-08-27 às 23:28 +0200, Adrian Bunk escreveu:
Quoted 1 line
This patch removes code that was both dead and pointless.
I've already handled this on my newer videobuf approach:
http://linuxtv.org/hg/~mchehab/videobuf/
Those patches are currently in tests. I expect to have those ready for 2.6.24.
Cheers,
Mauro