mlx4_core: Remove kfree() in mlx4_mr_alloc() error flow
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Thu, 26 Jul 2007 08:16:58 +0000 (11:16 +0300)
committerRoland Dreier <rolandd@cisco.com>
Sat, 28 Jul 2007 15:30:45 +0000 (08:30 -0700)
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>

No differences found