commit | 0172e2e14c3c1df10ec0fa31d9f41c1bc3a472f3 | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | Thu Jul 26 11:16:58 2007 +0300 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Jul 28 08:30:45 2007 -0700 |
tree | 3c9eb482826b1d3c40a428f4911bdd0202ac786d | |
parent | 4e8e6ee380c3858151165d7455b4954782f145a0 [diff] |
mlx4_core: Remove kfree() in mlx4_mr_alloc() error flow mlx4_mr_alloc() doesn't actually allocate mr (it just initializes the pointer that the caller passes in), so it shouldn't free it if an error occurs. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>