diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2009-02-23 18:26:38 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 19:42:52 +0400 |
commit | 8420fa7ee22c1d681549ff7ab0466ceda5a911c2 (patch) | |
tree | 62e85db6e66870efa58df24dd69a9c2f8784e5d1 /drivers/media/video/mt9m111.c | |
parent | 51ca3bddf34bb6cdbdddd89f59fe3a0131d40eba (diff) | |
download | linux-8420fa7ee22c1d681549ff7ab0466ceda5a911c2.tar.xz |
V4L/DVB (10662): remove redundant memset after kzalloc
Hi there!
While having a look at the allocation of struct dvb_frontend in *_attach
functions, I found some cases calling memset after kzalloc. This is
redundant, and the attached patch removes these calls.
I also changed one case calling kmalloc and memset to kzalloc.
Regards
Matthias
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/mt9m111.c')
0 files changed, 0 insertions, 0 deletions