diff options
author | Christophe Jaillet <jaillet.christophe@wanadoo.fr> | 2008-07-04 06:33:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 07:19:10 -0300 |
commit | a47cacbd869b67ce16981ad5a0b06e4eac2efaff (patch) | |
tree | 936ba20bf1c5395e94ab95ce2cdd78801898a2fe /drivers/crypto/hifn_795x.c | |
parent | a8a89b7f60f18c2517c3b950f5ecede0626363eb (diff) |
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>
Diffstat (limited to 'drivers/crypto/hifn_795x.c')
0 files changed, 0 insertions, 0 deletions