* [2.6 patch] video-buf.c: remove dead code
@ 2007-08-27 21:28 Adrian Bunk
2007-08-29 17:31 ` [v4l-dvb-maintainer] " Mauro Carvalho Chehab
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-08-27 21:28 UTC (permalink / raw)
To: mchehab; +Cc: v4l-dvb-maintainer, linux-kernel
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [v4l-dvb-maintainer] [2.6 patch] video-buf.c: remove dead code
2007-08-27 21:28 [2.6 patch] video-buf.c: remove dead code Adrian Bunk
@ 2007-08-29 17:31 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2007-08-29 17:31 UTC (permalink / raw)
To: Adrian Bunk; +Cc: v4l-dvb-maintainer, linux-kernel
Adrian,
Em Seg, 2007-08-27 às 23:28 +0200, Adrian Bunk escreveu:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-29 17:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-27 21:28 [2.6 patch] video-buf.c: remove dead code Adrian Bunk
2007-08-29 17:31 ` [v4l-dvb-maintainer] " Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®