lkml.org 
[lkml]   [2007]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] video-buf.c: remove dead code
This patch removes code that was both dead and pointless.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-27 23:39    [W:0.367 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site