commit | 51d9c41d190b6645c69a279b0610aad8e4ed9d72 | [log] [tgz] |
---|---|---|
author | Andy Grover <agrover@redhat.com> | Thu May 16 10:41:03 2013 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Fri Jun 14 00:05:43 2013 -0700 |
tree | 16c154a7306b196acd301a967117350137d0729b | |
parent | 459f213ba162bd13e113d6f92a8fa6c780fd67ed [diff] |
target: Use if/else for sa_res_key conditional in emulate_pro_register() Don't need goto, we can just do an if/else for sa_res_key behavior. Move shorter case first. Slightly shorter b/c both cases can share a call to update_and_write_aptpl() now. Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>