IB/srp: Clean up error path in srp_create_target_ib()
authorRoland Dreier <rolandd@cisco.com>
Wed, 24 Feb 2010 23:07:59 +0000 (15:07 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 2 Mar 2010 07:51:39 +0000 (23:51 -0800)
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>

No differences found