diff options
-rw-r--r-- | drivers/target/target_core_configfs.c | 3 | ||||
-rw-r--r-- | include/target/target_core_base.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/target/target_core_configfs.c b/drivers/target/target_core_configfs.c index 70b9f6755c36..62427acdf503 100644 --- a/drivers/target/target_core_configfs.c +++ b/drivers/target/target_core_configfs.c | |||
@@ -535,7 +535,6 @@ DEF_CONFIGFS_ATTRIB_SHOW(emulate_3pc); | |||
535 | DEF_CONFIGFS_ATTRIB_SHOW(emulate_pr); | 535 | DEF_CONFIGFS_ATTRIB_SHOW(emulate_pr); |
536 | DEF_CONFIGFS_ATTRIB_SHOW(pi_prot_type); | 536 | DEF_CONFIGFS_ATTRIB_SHOW(pi_prot_type); |
537 | DEF_CONFIGFS_ATTRIB_SHOW(hw_pi_prot_type); | 537 | DEF_CONFIGFS_ATTRIB_SHOW(hw_pi_prot_type); |
538 | DEF_CONFIGFS_ATTRIB_SHOW(pi_prot_format); | ||
539 | DEF_CONFIGFS_ATTRIB_SHOW(pi_prot_verify); | 538 | DEF_CONFIGFS_ATTRIB_SHOW(pi_prot_verify); |
540 | DEF_CONFIGFS_ATTRIB_SHOW(enforce_pr_isids); | 539 | DEF_CONFIGFS_ATTRIB_SHOW(enforce_pr_isids); |
541 | DEF_CONFIGFS_ATTRIB_SHOW(is_nonrot); | 540 | DEF_CONFIGFS_ATTRIB_SHOW(is_nonrot); |
@@ -1121,7 +1120,7 @@ CONFIGFS_ATTR(, emulate_3pc); | |||
1121 | CONFIGFS_ATTR(, emulate_pr); | 1120 | CONFIGFS_ATTR(, emulate_pr); |
1122 | CONFIGFS_ATTR(, pi_prot_type); | 1121 | CONFIGFS_ATTR(, pi_prot_type); |
1123 | CONFIGFS_ATTR_RO(, hw_pi_prot_type); | 1122 | CONFIGFS_ATTR_RO(, hw_pi_prot_type); |
1124 | CONFIGFS_ATTR(, pi_prot_format); | 1123 | CONFIGFS_ATTR_WO(, pi_prot_format); |
1125 | CONFIGFS_ATTR(, pi_prot_verify); | 1124 | CONFIGFS_ATTR(, pi_prot_verify); |
1126 | CONFIGFS_ATTR(, enforce_pr_isids); | 1125 | CONFIGFS_ATTR(, enforce_pr_isids); |
1127 | CONFIGFS_ATTR(, is_nonrot); | 1126 | CONFIGFS_ATTR(, is_nonrot); |
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index c15054116b86..53b90cc18902 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -667,7 +667,6 @@ struct se_dev_attrib { | |||
667 | int emulate_caw; | 667 | int emulate_caw; |
668 | int emulate_3pc; | 668 | int emulate_3pc; |
669 | int emulate_pr; | 669 | int emulate_pr; |
670 | int pi_prot_format; | ||
671 | enum target_prot_type pi_prot_type; | 670 | enum target_prot_type pi_prot_type; |
672 | enum target_prot_type hw_pi_prot_type; | 671 | enum target_prot_type hw_pi_prot_type; |
673 | int pi_prot_verify; | 672 | int pi_prot_verify; |