commit | 9b0af401aae336975e620fccdd294bb763424f3f | [log] [tgz] |
---|---|---|
author | Ishai Rabinovitz <ishai@mellanox.co.il> | Tue Oct 10 09:51:14 2006 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Oct 10 09:51:14 2006 -0700 |
tree | b312e710814f647e2c730758c3aa6c252c589aa1 | |
parent | e52e6080ca10e0a8ce2a35c86965945cdfa8ed7e [diff] |
IB/srp: Remove redundant memset() scsi_host_alloc() already allocates with kzalloc(), so the struct Scsi_Host is zeroed out, including the private data portion. Remove the redundant memset that zeros this out again in the SRP initiator. Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>