commit | c050def076bfbc4513ee961c77fde6ba3d401158 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Thu May 20 15:58:22 2010 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Thu May 20 15:58:22 2010 -0700 |
tree | b5c6e4a7a192eea51e587a10a5bb1a627290ff4a | |
parent | c0dc72bad9cf21071f5e4005de46f7c8b67a138a [diff] |
mlx4_core: Clean up mlx4_alloc_icm() a bit Handle the allocation error case first, so that we don't have further nested if for handling the common case of success. Signed-off-by: Roland Dreier <rolandd@cisco.com>