Messages in this thread Patch in this message | | | Date | Mon, 27 Aug 2007 23:28:37 +0200 | From | Adrian Bunk <> | 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/
| |