target: Alter core_pr_dump_initiator_port for ease of use
authorAndy Grover <agrover@redhat.com>
Thu, 16 May 2013 17:40:55 +0000 (10:40 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 14 Jun 2013 07:04:31 +0000 (00:04 -0700)
commitd2843c173ee53cf4c12e7dfedc069a5bc76f0ac5
tree36d952a14f5737a88afa759ce4a8d9c4bbd14d86
parent33ce6a87f2aba790429ac228288edc0e410143a2
target: Alter core_pr_dump_initiator_port for ease of use

We use this function exclusively in debug prints. Instead of returning
0 or 1 if isid is present, just set buf to "" if it isn't there. This
saves callers from having to check the return value.

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