summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2013-05-16 10:40:59 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2013-06-14 00:04:46 -0700
commit4e529be27d0ec4b9c6e4fd1b2908fa21b28539b1 (patch)
tree249bd30f568a42c3dcaaa681043daad25b3b359f /include
parent3c8a6228d078553e32bffc59ed180d01ab1d998a (diff)
downloadlinux-stable-4e529be27d0ec4b9c6e4fd1b2908fa21b28539b1.tar.gz
linux-stable-4e529be27d0ec4b9c6e4fd1b2908fa21b28539b1.tar.bz2
linux-stable-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.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 {
/* 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;