RDMA/addr: Fix return of uninitialized ret value
authorSean Hefty <sean.hefty@intel.com>
Thu, 17 Mar 2011 23:35:39 +0000 (23:35 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 18 Mar 2011 00:00:19 +0000 (17:00 -0700)
commit1bdd6384c2b43cac9be8d6f2c298bcf39f50cd07
tree13f142bfd526a8682167e0bc43e1472ee9a08ded
parent7b7adc4a016a1decb806eb71ecab98721fa7f146
RDMA/addr: Fix return of uninitialized ret value

Commit b23dd4fe42b4 ("ipv4: Make output route lookup return rtable
directly") resulted in leaving ret uninitialized, where it may later
be returned.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/addr.c