diff options
author | Christoph Hellwig <hch@lst.de> | 2015-05-03 02:50:56 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-05-31 01:42:39 -0400 |
commit | 7ad34a93675e9c5a65711f83c518871317adc2ee (patch) | |
tree | adc5e562585d30c65c5ef00d9d50a2215804a9cf | |
parent | 968ebe752035d14a4c2bb69f8ed0ddf7292dd2f9 (diff) |
target: target_core_configfs.h is not needed in fabric drivers
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
25 files changed, 0 insertions, 26 deletions
diff --git a/Documentation/target/tcm_mod_builder.py b/Documentation/target/tcm_mod_builder.py index 71e1f5863310..c70b193ec110 100755 --- a/Documentation/target/tcm_mod_builder.py +++ b/Documentation/target/tcm_mod_builder.py | |||
@@ -203,7 +203,6 @@ def tcm_mod_build_configfs(proto_ident, fabric_mod_dir_var, fabric_mod_name): | |||
203 | buf += "#include <target/target_core_base.h>\n" | 203 | buf += "#include <target/target_core_base.h>\n" |
204 | buf += "#include <target/target_core_fabric.h>\n" | 204 | buf += "#include <target/target_core_fabric.h>\n" |
205 | buf += "#include <target/target_core_fabric_configfs.h>\n" | 205 | buf += "#include <target/target_core_fabric_configfs.h>\n" |
206 | buf += "#include <target/target_core_configfs.h>\n" | ||
207 | buf += "#include <target/configfs_macros.h>\n\n" | 206 | buf += "#include <target/configfs_macros.h>\n\n" |
208 | buf += "#include \"" + fabric_mod_name + "_base.h\"\n" | 207 | buf += "#include \"" + fabric_mod_name + "_base.h\"\n" |
209 | buf += "#include \"" + fabric_mod_name + "_fabric.h\"\n\n" | 208 | buf += "#include \"" + fabric_mod_name + "_fabric.h\"\n\n" |
@@ -417,7 +416,6 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name): | |||
417 | buf += "#include <scsi/libfc.h>\n\n" | 416 | buf += "#include <scsi/libfc.h>\n\n" |
418 | buf += "#include <target/target_core_base.h>\n" | 417 | buf += "#include <target/target_core_base.h>\n" |
419 | buf += "#include <target/target_core_fabric.h>\n" | 418 | buf += "#include <target/target_core_fabric.h>\n" |
420 | buf += "#include <target/target_core_configfs.h>\n\n" | ||
421 | buf += "#include \"" + fabric_mod_name + "_base.h\"\n" | 419 | buf += "#include \"" + fabric_mod_name + "_base.h\"\n" |
422 | buf += "#include \"" + fabric_mod_name + "_fabric.h\"\n\n" | 420 | buf += "#include \"" + fabric_mod_name + "_fabric.h\"\n\n" |
423 | 421 | ||
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index f21a5f6bf858..dbad5c67a294 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <target/target_core_base.h> | 46 | #include <target/target_core_base.h> |
47 | #include <target/target_core_fabric_configfs.h> | 47 | #include <target/target_core_fabric_configfs.h> |
48 | #include <target/target_core_fabric.h> | 48 | #include <target/target_core_fabric.h> |
49 | #include <target/target_core_configfs.h> | ||
50 | #include "ib_srpt.h" | 49 | #include "ib_srpt.h" |
51 | 50 | ||
52 | /* Name of this kernel module. */ | 51 | /* Name of this kernel module. */ |
diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c index 8e331220adda..b505e5e7c987 100644 --- a/drivers/scsi/qla2xxx/tcm_qla2xxx.c +++ b/drivers/scsi/qla2xxx/tcm_qla2xxx.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <target/target_core_base.h> | 43 | #include <target/target_core_base.h> |
44 | #include <target/target_core_fabric.h> | 44 | #include <target/target_core_fabric.h> |
45 | #include <target/target_core_fabric_configfs.h> | 45 | #include <target/target_core_fabric_configfs.h> |
46 | #include <target/target_core_configfs.h> | ||
47 | #include <target/configfs_macros.h> | 46 | #include <target/configfs_macros.h> |
48 | 47 | ||
49 | #include "qla_def.h" | 48 | #include "qla_def.h" |
diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/target/iscsi/iscsi_target.c index 3c4431f71158..1817922fe0f1 100644 --- a/drivers/target/iscsi/iscsi_target.c +++ b/drivers/target/iscsi/iscsi_target.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <scsi/scsi_tcq.h> | 28 | #include <scsi/scsi_tcq.h> |
29 | #include <target/target_core_base.h> | 29 | #include <target/target_core_base.h> |
30 | #include <target/target_core_fabric.h> | 30 | #include <target/target_core_fabric.h> |
31 | #include <target/target_core_configfs.h> | ||
32 | 31 | ||
33 | #include <target/iscsi/iscsi_target_core.h> | 32 | #include <target/iscsi/iscsi_target_core.h> |
34 | #include "iscsi_target_parameters.h" | 33 | #include "iscsi_target_parameters.h" |
diff --git a/drivers/target/iscsi/iscsi_target_configfs.c b/drivers/target/iscsi/iscsi_target_configfs.c index aa4fc4d8e176..523ae556e22c 100644 --- a/drivers/target/iscsi/iscsi_target_configfs.c +++ b/drivers/target/iscsi/iscsi_target_configfs.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <target/target_core_base.h> | 24 | #include <target/target_core_base.h> |
25 | #include <target/target_core_fabric.h> | 25 | #include <target/target_core_fabric.h> |
26 | #include <target/target_core_fabric_configfs.h> | 26 | #include <target/target_core_fabric_configfs.h> |
27 | #include <target/target_core_configfs.h> | ||
28 | #include <target/configfs_macros.h> | 27 | #include <target/configfs_macros.h> |
29 | #include <target/iscsi/iscsi_transport.h> | 28 | #include <target/iscsi/iscsi_transport.h> |
30 | 29 | ||
diff --git a/drivers/target/iscsi/iscsi_target_tpg.c b/drivers/target/iscsi/iscsi_target_tpg.c index dcb7ede1d4aa..d4ac31fc2acd 100644 --- a/drivers/target/iscsi/iscsi_target_tpg.c +++ b/drivers/target/iscsi/iscsi_target_tpg.c | |||
@@ -18,7 +18,6 @@ | |||
18 | 18 | ||
19 | #include <target/target_core_base.h> | 19 | #include <target/target_core_base.h> |
20 | #include <target/target_core_fabric.h> | 20 | #include <target/target_core_fabric.h> |
21 | #include <target/target_core_configfs.h> | ||
22 | 21 | ||
23 | #include <target/iscsi/iscsi_target_core.h> | 22 | #include <target/iscsi/iscsi_target_core.h> |
24 | #include "iscsi_target_erl0.h" | 23 | #include "iscsi_target_erl0.h" |
diff --git a/drivers/target/iscsi/iscsi_target_util.c b/drivers/target/iscsi/iscsi_target_util.c index c1582e88191e..a2bff0702eb2 100644 --- a/drivers/target/iscsi/iscsi_target_util.c +++ b/drivers/target/iscsi/iscsi_target_util.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <scsi/iscsi_proto.h> | 22 | #include <scsi/iscsi_proto.h> |
23 | #include <target/target_core_base.h> | 23 | #include <target/target_core_base.h> |
24 | #include <target/target_core_fabric.h> | 24 | #include <target/target_core_fabric.h> |
25 | #include <target/target_core_configfs.h> | ||
26 | #include <target/iscsi/iscsi_transport.h> | 25 | #include <target/iscsi/iscsi_transport.h> |
27 | 26 | ||
28 | #include <target/iscsi/iscsi_target_core.h> | 27 | #include <target/iscsi/iscsi_target_core.h> |
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index 07d3b52c88eb..b0c17614493e 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <target/target_core_base.h> | 35 | #include <target/target_core_base.h> |
36 | #include <target/target_core_fabric.h> | 36 | #include <target/target_core_fabric.h> |
37 | #include <target/target_core_fabric_configfs.h> | 37 | #include <target/target_core_fabric_configfs.h> |
38 | #include <target/target_core_configfs.h> | ||
39 | 38 | ||
40 | #include "tcm_loop.h" | 39 | #include "tcm_loop.h" |
41 | 40 | ||
diff --git a/drivers/target/sbp/sbp_target.c b/drivers/target/sbp/sbp_target.c index 2916a4023e71..5d7755edc668 100644 --- a/drivers/target/sbp/sbp_target.c +++ b/drivers/target/sbp/sbp_target.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <target/target_core_backend.h> | 36 | #include <target/target_core_backend.h> |
37 | #include <target/target_core_fabric.h> | 37 | #include <target/target_core_fabric.h> |
38 | #include <target/target_core_fabric_configfs.h> | 38 | #include <target/target_core_fabric_configfs.h> |
39 | #include <target/target_core_configfs.h> | ||
40 | #include <target/configfs_macros.h> | 39 | #include <target/configfs_macros.h> |
41 | #include <asm/unaligned.h> | 40 | #include <asm/unaligned.h> |
42 | 41 | ||
diff --git a/drivers/target/target_core_alua.c b/drivers/target/target_core_alua.c index 4f8d4d459aa4..b590f153a7b6 100644 --- a/drivers/target/target_core_alua.c +++ b/drivers/target/target_core_alua.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <target/target_core_base.h> | 35 | #include <target/target_core_base.h> |
36 | #include <target/target_core_backend.h> | 36 | #include <target/target_core_backend.h> |
37 | #include <target/target_core_fabric.h> | 37 | #include <target/target_core_fabric.h> |
38 | #include <target/target_core_configfs.h> | ||
39 | 38 | ||
40 | #include "target_core_internal.h" | 39 | #include "target_core_internal.h" |
41 | #include "target_core_alua.h" | 40 | #include "target_core_alua.h" |
diff --git a/drivers/target/target_core_fabric_lib.c b/drivers/target/target_core_fabric_lib.c index 89720b2f37c2..92346f23ab45 100644 --- a/drivers/target/target_core_fabric_lib.c +++ b/drivers/target/target_core_fabric_lib.c | |||
@@ -39,7 +39,6 @@ | |||
39 | 39 | ||
40 | #include <target/target_core_base.h> | 40 | #include <target/target_core_base.h> |
41 | #include <target/target_core_fabric.h> | 41 | #include <target/target_core_fabric.h> |
42 | #include <target/target_core_configfs.h> | ||
43 | 42 | ||
44 | #include "target_core_internal.h" | 43 | #include "target_core_internal.h" |
45 | #include "target_core_pr.h" | 44 | #include "target_core_pr.h" |
diff --git a/drivers/target/target_core_hba.c b/drivers/target/target_core_hba.c index ff95f95dcd13..e6e496ff9546 100644 --- a/drivers/target/target_core_hba.c +++ b/drivers/target/target_core_hba.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <target/target_core_base.h> | 36 | #include <target/target_core_base.h> |
37 | #include <target/target_core_backend.h> | 37 | #include <target/target_core_backend.h> |
38 | #include <target/target_core_fabric.h> | 38 | #include <target/target_core_fabric.h> |
39 | #include <target/target_core_configfs.h> | ||
40 | 39 | ||
41 | #include "target_core_internal.h" | 40 | #include "target_core_internal.h" |
42 | 41 | ||
diff --git a/drivers/target/target_core_pr.c b/drivers/target/target_core_pr.c index d396b3b87025..a4b9a0dd50cd 100644 --- a/drivers/target/target_core_pr.c +++ b/drivers/target/target_core_pr.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <target/target_core_base.h> | 35 | #include <target/target_core_base.h> |
36 | #include <target/target_core_backend.h> | 36 | #include <target/target_core_backend.h> |
37 | #include <target/target_core_fabric.h> | 37 | #include <target/target_core_fabric.h> |
38 | #include <target/target_core_configfs.h> | ||
39 | 38 | ||
40 | #include "target_core_internal.h" | 39 | #include "target_core_internal.h" |
41 | #include "target_core_pr.h" | 40 | #include "target_core_pr.h" |
diff --git a/drivers/target/target_core_stat.c b/drivers/target/target_core_stat.c index 03538994d2f7..64efee2fba52 100644 --- a/drivers/target/target_core_stat.c +++ b/drivers/target/target_core_stat.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <target/target_core_base.h> | 40 | #include <target/target_core_base.h> |
41 | #include <target/target_core_backend.h> | 41 | #include <target/target_core_backend.h> |
42 | #include <target/target_core_fabric.h> | 42 | #include <target/target_core_fabric.h> |
43 | #include <target/target_core_configfs.h> | ||
44 | #include <target/configfs_macros.h> | 43 | #include <target/configfs_macros.h> |
45 | 44 | ||
46 | #include "target_core_internal.h" | 45 | #include "target_core_internal.h" |
diff --git a/drivers/target/target_core_tmr.c b/drivers/target/target_core_tmr.c index 393aca8bb3eb..60ef1043242e 100644 --- a/drivers/target/target_core_tmr.c +++ b/drivers/target/target_core_tmr.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <target/target_core_base.h> | 33 | #include <target/target_core_base.h> |
34 | #include <target/target_core_backend.h> | 34 | #include <target/target_core_backend.h> |
35 | #include <target/target_core_fabric.h> | 35 | #include <target/target_core_fabric.h> |
36 | #include <target/target_core_configfs.h> | ||
37 | 36 | ||
38 | #include "target_core_internal.h" | 37 | #include "target_core_internal.h" |
39 | #include "target_core_alua.h" | 38 | #include "target_core_alua.h" |
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 0d8662bb470e..fc460f1b0b75 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c | |||
@@ -44,7 +44,6 @@ | |||
44 | #include <target/target_core_base.h> | 44 | #include <target/target_core_base.h> |
45 | #include <target/target_core_backend.h> | 45 | #include <target/target_core_backend.h> |
46 | #include <target/target_core_fabric.h> | 46 | #include <target/target_core_fabric.h> |
47 | #include <target/target_core_configfs.h> | ||
48 | 47 | ||
49 | #include "target_core_internal.h" | 48 | #include "target_core_internal.h" |
50 | #include "target_core_alua.h" | 49 | #include "target_core_alua.h" |
diff --git a/drivers/target/target_core_ua.c b/drivers/target/target_core_ua.c index 1738b1646988..a0bf0d1a3df7 100644 --- a/drivers/target/target_core_ua.c +++ b/drivers/target/target_core_ua.c | |||
@@ -30,7 +30,6 @@ | |||
30 | 30 | ||
31 | #include <target/target_core_base.h> | 31 | #include <target/target_core_base.h> |
32 | #include <target/target_core_fabric.h> | 32 | #include <target/target_core_fabric.h> |
33 | #include <target/target_core_configfs.h> | ||
34 | 33 | ||
35 | #include "target_core_internal.h" | 34 | #include "target_core_internal.h" |
36 | #include "target_core_alua.h" | 35 | #include "target_core_alua.h" |
diff --git a/drivers/target/target_core_xcopy.c b/drivers/target/target_core_xcopy.c index 5545619d3045..3556a9dcee46 100644 --- a/drivers/target/target_core_xcopy.c +++ b/drivers/target/target_core_xcopy.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <target/target_core_base.h> | 32 | #include <target/target_core_base.h> |
33 | #include <target/target_core_backend.h> | 33 | #include <target/target_core_backend.h> |
34 | #include <target/target_core_fabric.h> | 34 | #include <target/target_core_fabric.h> |
35 | #include <target/target_core_configfs.h> | ||
36 | 35 | ||
37 | #include "target_core_internal.h" | 36 | #include "target_core_internal.h" |
38 | #include "target_core_pr.h" | 37 | #include "target_core_pr.h" |
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c index a8fe6ed5262f..d62282fb2b5b 100644 --- a/drivers/target/tcm_fc/tfc_cmd.c +++ b/drivers/target/tcm_fc/tfc_cmd.c | |||
@@ -40,7 +40,6 @@ | |||
40 | 40 | ||
41 | #include <target/target_core_base.h> | 41 | #include <target/target_core_base.h> |
42 | #include <target/target_core_fabric.h> | 42 | #include <target/target_core_fabric.h> |
43 | #include <target/target_core_configfs.h> | ||
44 | #include <target/configfs_macros.h> | 43 | #include <target/configfs_macros.h> |
45 | 44 | ||
46 | #include "tcm_fc.h" | 45 | #include "tcm_fc.h" |
diff --git a/drivers/target/tcm_fc/tfc_conf.c b/drivers/target/tcm_fc/tfc_conf.c index f0821967f0a1..ee5653139417 100644 --- a/drivers/target/tcm_fc/tfc_conf.c +++ b/drivers/target/tcm_fc/tfc_conf.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <target/target_core_base.h> | 43 | #include <target/target_core_base.h> |
44 | #include <target/target_core_fabric.h> | 44 | #include <target/target_core_fabric.h> |
45 | #include <target/target_core_fabric_configfs.h> | 45 | #include <target/target_core_fabric_configfs.h> |
46 | #include <target/target_core_configfs.h> | ||
47 | #include <target/configfs_macros.h> | 46 | #include <target/configfs_macros.h> |
48 | 47 | ||
49 | #include "tcm_fc.h" | 48 | #include "tcm_fc.h" |
diff --git a/drivers/target/tcm_fc/tfc_io.c b/drivers/target/tcm_fc/tfc_io.c index 583e755d8091..401ce7f27863 100644 --- a/drivers/target/tcm_fc/tfc_io.c +++ b/drivers/target/tcm_fc/tfc_io.c | |||
@@ -48,7 +48,6 @@ | |||
48 | 48 | ||
49 | #include <target/target_core_base.h> | 49 | #include <target/target_core_base.h> |
50 | #include <target/target_core_fabric.h> | 50 | #include <target/target_core_fabric.h> |
51 | #include <target/target_core_configfs.h> | ||
52 | #include <target/configfs_macros.h> | 51 | #include <target/configfs_macros.h> |
53 | 52 | ||
54 | #include "tcm_fc.h" | 53 | #include "tcm_fc.h" |
diff --git a/drivers/target/tcm_fc/tfc_sess.c b/drivers/target/tcm_fc/tfc_sess.c index ccee7e332a4d..96a2273667ce 100644 --- a/drivers/target/tcm_fc/tfc_sess.c +++ b/drivers/target/tcm_fc/tfc_sess.c | |||
@@ -40,7 +40,6 @@ | |||
40 | 40 | ||
41 | #include <target/target_core_base.h> | 41 | #include <target/target_core_base.h> |
42 | #include <target/target_core_fabric.h> | 42 | #include <target/target_core_fabric.h> |
43 | #include <target/target_core_configfs.h> | ||
44 | #include <target/configfs_macros.h> | 43 | #include <target/configfs_macros.h> |
45 | 44 | ||
46 | #include "tcm_fc.h" | 45 | #include "tcm_fc.h" |
diff --git a/drivers/usb/gadget/legacy/tcm_usb_gadget.c b/drivers/usb/gadget/legacy/tcm_usb_gadget.c index a000d89dc78a..16b9a16678fe 100644 --- a/drivers/usb/gadget/legacy/tcm_usb_gadget.c +++ b/drivers/usb/gadget/legacy/tcm_usb_gadget.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <target/target_core_base.h> | 21 | #include <target/target_core_base.h> |
22 | #include <target/target_core_fabric.h> | 22 | #include <target/target_core_fabric.h> |
23 | #include <target/target_core_fabric_configfs.h> | 23 | #include <target/target_core_fabric_configfs.h> |
24 | #include <target/target_core_configfs.h> | ||
25 | #include <target/configfs_macros.h> | 24 | #include <target/configfs_macros.h> |
26 | #include <asm/unaligned.h> | 25 | #include <asm/unaligned.h> |
27 | 26 | ||
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 4a003948b07f..dcd228b59ded 100644 --- a/drivers/vhost/scsi.c +++ b/drivers/vhost/scsi.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <target/target_core_base.h> | 41 | #include <target/target_core_base.h> |
42 | #include <target/target_core_fabric.h> | 42 | #include <target/target_core_fabric.h> |
43 | #include <target/target_core_fabric_configfs.h> | 43 | #include <target/target_core_fabric_configfs.h> |
44 | #include <target/target_core_configfs.h> | ||
45 | #include <target/configfs_macros.h> | 44 | #include <target/configfs_macros.h> |
46 | #include <linux/vhost.h> | 45 | #include <linux/vhost.h> |
47 | #include <linux/virtio_scsi.h> | 46 | #include <linux/virtio_scsi.h> |
diff --git a/drivers/xen/xen-scsiback.c b/drivers/xen/xen-scsiback.c index ea929baf7ad0..edd0379c06b9 100644 --- a/drivers/xen/xen-scsiback.c +++ b/drivers/xen/xen-scsiback.c | |||
@@ -56,7 +56,6 @@ | |||
56 | 56 | ||
57 | #include <target/target_core_base.h> | 57 | #include <target/target_core_base.h> |
58 | #include <target/target_core_fabric.h> | 58 | #include <target/target_core_fabric.h> |
59 | #include <target/target_core_configfs.h> | ||
60 | #include <target/target_core_fabric_configfs.h> | 59 | #include <target/target_core_fabric_configfs.h> |
61 | 60 | ||
62 | #include <asm/hypervisor.h> | 61 | #include <asm/hypervisor.h> |