]> err.no Git - linux-2.6/commit
[SCSI] mpt fusion: remove redundant memset
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Fri, 10 Aug 2007 21:50:53 +0000 (14:50 -0700)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:47:17 +0000 (14:47 -0400)
commit82d1ce505d1a77a03acb9d22240ef5a63a18b653
tree3d2951580307fd393ceb2d4111646543de631d7b
parent568761955ad01c6d238d8b12d21a554c1226a37b
[SCSI] mpt fusion: remove redundant memset

alloc_fcdev() calls alloc_netdev() which uses kzalloc to alloc all the
memory together with dev->priv region hence no zeroing of structs inside
struct mpt_lan_priv needed.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Acked-by: "Moore, Eric Dean" <Eric.Moore@lsil.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/fusion/mptlan.c