target: Unify __core_scsi3_update_aptpl_buf and core_scsi3_update_aptpl_buf
authorAndy Grover <agrover@redhat.com>
Thu, 16 May 2013 17:40:58 +0000 (10:40 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 14 Jun 2013 07:04:43 +0000 (00:04 -0700)
commit3c8a6228d078553e32bffc59ed180d01ab1d998a
treed5a7bbc0ae4171237ca4b9d9004eddf6a3536676
parent0607decdca51ee33c2caae288a44a82455149b51
target: Unify __core_scsi3_update_aptpl_buf and core_scsi3_update_aptpl_buf

The __ version is only ever called from the regular version, so just
inline it. It's not too much more complex to handle both spinlocks in the
same function.

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