target: Further refactoring of core_scsi3_emulate_pro_register()
authorAndy Grover <agrover@redhat.com>
Thu, 16 May 2013 17:41:04 +0000 (10:41 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 14 Jun 2013 07:05:48 +0000 (00:05 -0700)
commitbc118fe4c4a8cfa453491ba77c0a146a6d0e73e0
treec8d463b373a76b3f86c0c9b64d9a79a510172f91
parent51d9c41d190b6645c69a279b0610aad8e4ed9d72
target: Further refactoring of core_scsi3_emulate_pro_register()

Use bool params when appropriate.

Eliminate unneeded pr_reg_e and type variables.

Just one goto label, so rename to 'out' from 'out_put_pr_reg'.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_pr.c