mlx4_core: Clean up mlx4_alloc_icm() a bit
authorRoland Dreier <rolandd@cisco.com>
Thu, 20 May 2010 22:58:22 +0000 (15:58 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 20 May 2010 22:58:22 +0000 (15:58 -0700)
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>

No differences found