diff options
author | Andy Grover <agrover@redhat.com> | 2013-05-16 19:40:59 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-14 09:04:46 +0200 |
commit | 4e529be27d0ec4b9c6e4fd1b2908fa21b28539b1 (patch) | |
tree | 249bd30f568a42c3dcaaa681043daad25b3b359f /include | |
parent | target: Unify __core_scsi3_update_aptpl_buf and core_scsi3_update_aptpl_buf (diff) | |
download | linux-4e529be27d0ec4b9c6e4fd1b2908fa21b28539b1.tar.xz linux-4e529be27d0ec4b9c6e4fd1b2908fa21b28539b1.zip |
target: Remove t10_reservation.pr_aptpl_buf_len
It's only ever set to PR_APTPL_BUF_LEN, so we don't need a variable.
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/target/target_core_base.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 4ea4f985f394..5976dc3e4066 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -374,9 +374,7 @@ struct t10_reservation { /* Activate Persistence across Target Power Loss enabled * for SCSI device */ int pr_aptpl_active; - /* Used by struct t10_reservation->pr_aptpl_buf_len */ #define PR_APTPL_BUF_LEN 8192 - u32 pr_aptpl_buf_len; u32 pr_generation; spinlock_t registration_lock; spinlock_t aptpl_reg_lock; |