[2.6 patch] video-buf.c: remove dead code

From: Adrian Bunk
Date: Mon Aug 27 2007 - 17:37:09 EST


This patch removes code that was both dead and pointless.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
d72841ad9ded136818ab054613ab2f3e027af67f
diff --git a/drivers/media/video/video-buf.c b/drivers/media/video/video-buf.c
index f6f31e1..87cf89a 100644
--- a/drivers/media/video/video-buf.c
+++ b/drivers/media/video/video-buf.c
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/