From: Larry Finger Date: Thu, 15 Dec 2011 02:23:03 +0000 (-0600) Subject: brcmsmac: Replace kmalloc/memset with kzalloc X-Git-Tag: v3.3-rc1~182^2~178^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00d2ec0c5f5ae8507931efd8feb174f30370c12e;p=pandora-kernel.git brcmsmac: Replace kmalloc/memset with kzalloc In ai_attach(), space is allocated for an si_info struct. Immediately after the allocation, routine ai_doattach() is called and that allocated space is set to zero. As no other routine calls ai_doattach(), kzalloc() can be utilized. Signed-off-by: Larry Finger Acked-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed