aboutsummaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2013-05-16 13:40:59 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2013-06-14 03:04:46 -0400
commit4e529be27d0ec4b9c6e4fd1b2908fa21b28539b1 (patch)
tree249bd30f568a42c3dcaaa681043daad25b3b359f /include/target
parent3c8a6228d078553e32bffc59ed180d01ab1d998a (diff)
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/target')
-rw-r--r--include/target/target_core_base.h2
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 {
374 /* Activate Persistence across Target Power Loss enabled 374 /* Activate Persistence across Target Power Loss enabled
375 * for SCSI device */ 375 * for SCSI device */
376 int pr_aptpl_active; 376 int pr_aptpl_active;
377 /* Used by struct t10_reservation->pr_aptpl_buf_len */
378#define PR_APTPL_BUF_LEN 8192 377#define PR_APTPL_BUF_LEN 8192
379 u32 pr_aptpl_buf_len;
380 u32 pr_generation; 378 u32 pr_generation;
381 spinlock_t registration_lock; 379 spinlock_t registration_lock;
382 spinlock_t aptpl_reg_lock; 380 spinlock_t aptpl_reg_lock;