commit | da9d2f07306fc29a2f10885c2b0a463f3863c365 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Wed Feb 24 15:07:59 2010 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Mar 01 23:51:39 2010 -0800 |
tree | 3057204face593f4859aab958bf93e4fe9b1c98e | |
parent | 9c03dc9f19351edf25c1107e3cfd3cc538c7ab9e [diff] |
IB/srp: Clean up error path in srp_create_target_ib() Instead of repeating the error unwinding steps in each place an error can be detected, use the common idiom of gotos into an error flow. Signed-off-by: Roland Dreier <rolandd@cisco.com>