diff options
Diffstat (limited to 'Documentation')
-rwxr-xr-x | Documentation/target/tcm_mod_builder.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Documentation/target/tcm_mod_builder.py b/Documentation/target/tcm_mod_builder.py index a78879b01f09..3fe0d812dcec 100755 --- a/Documentation/target/tcm_mod_builder.py +++ b/Documentation/target/tcm_mod_builder.py | |||
@@ -402,8 +402,6 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name): | |||
402 | buf += " .queue_data_in = " + fabric_mod_name + "_queue_data_in,\n" | 402 | buf += " .queue_data_in = " + fabric_mod_name + "_queue_data_in,\n" |
403 | buf += " .queue_status = " + fabric_mod_name + "_queue_status,\n" | 403 | buf += " .queue_status = " + fabric_mod_name + "_queue_status,\n" |
404 | buf += " .queue_tm_rsp = " + fabric_mod_name + "_queue_tm_rsp,\n" | 404 | buf += " .queue_tm_rsp = " + fabric_mod_name + "_queue_tm_rsp,\n" |
405 | buf += " .get_fabric_sense_len = " + fabric_mod_name + "_get_fabric_sense_len,\n" | ||
406 | buf += " .set_fabric_sense_len = " + fabric_mod_name + "_set_fabric_sense_len,\n" | ||
407 | buf += " .is_state_remove = " + fabric_mod_name + "_is_state_remove,\n" | 405 | buf += " .is_state_remove = " + fabric_mod_name + "_is_state_remove,\n" |
408 | buf += " /*\n" | 406 | buf += " /*\n" |
409 | buf += " * Setup function pointers for generic logic in target_core_fabric_configfs.c\n" | 407 | buf += " * Setup function pointers for generic logic in target_core_fabric_configfs.c\n" |
@@ -906,20 +904,6 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name): | |||
906 | buf += "}\n\n" | 904 | buf += "}\n\n" |
907 | bufi += "int " + fabric_mod_name + "_queue_tm_rsp(struct se_cmd *);\n" | 905 | bufi += "int " + fabric_mod_name + "_queue_tm_rsp(struct se_cmd *);\n" |
908 | 906 | ||
909 | if re.search('get_fabric_sense_len\)\(', fo): | ||
910 | buf += "u16 " + fabric_mod_name + "_get_fabric_sense_len(void)\n" | ||
911 | buf += "{\n" | ||
912 | buf += " return 0;\n" | ||
913 | buf += "}\n\n" | ||
914 | bufi += "u16 " + fabric_mod_name + "_get_fabric_sense_len(void);\n" | ||
915 | |||
916 | if re.search('set_fabric_sense_len\)\(', fo): | ||
917 | buf += "u16 " + fabric_mod_name + "_set_fabric_sense_len(struct se_cmd *se_cmd, u32 sense_length)\n" | ||
918 | buf += "{\n" | ||
919 | buf += " return 0;\n" | ||
920 | buf += "}\n\n" | ||
921 | bufi += "u16 " + fabric_mod_name + "_set_fabric_sense_len(struct se_cmd *, u32);\n" | ||
922 | |||
923 | if re.search('is_state_remove\)\(', fo): | 907 | if re.search('is_state_remove\)\(', fo): |
924 | buf += "int " + fabric_mod_name + "_is_state_remove(struct se_cmd *se_cmd)\n" | 908 | buf += "int " + fabric_mod_name + "_is_state_remove(struct se_cmd *se_cmd)\n" |
925 | buf += "{\n" | 909 | buf += "{\n" |