diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2007-08-10 23:50:53 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 20:47:17 +0200 |
commit | 82d1ce505d1a77a03acb9d22240ef5a63a18b653 (patch) | |
tree | 3d2951580307fd393ceb2d4111646543de631d7b /drivers/s390/scsi/zfcp_ext.h | |
parent | [SCSI] mpt fusion: fix two potential mem leaks (diff) | |
download | linux-82d1ce505d1a77a03acb9d22240ef5a63a18b653.tar.xz linux-82d1ce505d1a77a03acb9d22240ef5a63a18b653.zip |
[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>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
0 files changed, 0 insertions, 0 deletions