android_kernel_motorola_sm6225/drivers/media
Christophe Jaillet a47cacbd86 V4L/DVB (8252): buf-dma-sg.c: avoid clearing memory twice
1) Remove a useless initialisation of 'i'

2) Avoid clearing the memory allocated twice (once in 'kcalloc', once
   in 'sg_init_table')

3) Remove a test that can never trigger.  The function returns NULL in
   such a case, so we know that at this point 'pages[0]' != NULL

Signed-off-by: Christophe Jaillet <jaillet.christophe@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-20 07:19:10 -03:00
..
common v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10 2008-07-20 07:17:52 -03:00
dvb V4L/DVB (8251): ttusb: use simple_read_from_buffer()() 2008-07-20 07:19:04 -03:00
radio V4L/DVB (7997): si470x: hardware frequency seek support 2008-07-20 07:08:43 -03:00
video V4L/DVB (8252): buf-dma-sg.c: avoid clearing memory twice 2008-07-20 07:19:10 -03:00
Kconfig V4L/DVB (7898): Fix VIDEO_MEDIA Kconfig logic 2008-05-14 02:56:47 -03:00
Makefile V4L/DVB (7908): always enter drivers/media/video/ 2008-06-05 06:35:42 -03:00