diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2010-11-30 07:00:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-02 16:34:02 -0500 |
commit | c80262829769419e19527f972672e8df0480235a (patch) | |
tree | 91e885e3cb99f044aaf9dda109b4d5d0fc7b1df5 /net/tipc | |
parent | d265fef6ddf9042195aae551e1fde211c2a1588b (diff) |
tipc: Remove obsolete inclusions of header files
Gets rid of #include statements that are no longer required as a
result of the merging of obsolete native API header file content
into other TIPC include files.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/addr.c | 2 | ||||
-rw-r--r-- | net/tipc/bcast.c | 9 | ||||
-rw-r--r-- | net/tipc/bearer.c | 3 | ||||
-rw-r--r-- | net/tipc/bearer.h | 1 | ||||
-rw-r--r-- | net/tipc/cluster.c | 6 | ||||
-rw-r--r-- | net/tipc/config.c | 5 | ||||
-rw-r--r-- | net/tipc/config.h | 1 | ||||
-rw-r--r-- | net/tipc/core.c | 1 | ||||
-rw-r--r-- | net/tipc/discover.c | 2 | ||||
-rw-r--r-- | net/tipc/discover.h | 2 | ||||
-rw-r--r-- | net/tipc/link.c | 8 | ||||
-rw-r--r-- | net/tipc/link.h | 1 | ||||
-rw-r--r-- | net/tipc/msg.c | 2 | ||||
-rw-r--r-- | net/tipc/name_distr.c | 2 | ||||
-rw-r--r-- | net/tipc/name_table.c | 5 | ||||
-rw-r--r-- | net/tipc/net.c | 5 | ||||
-rw-r--r-- | net/tipc/node.c | 6 | ||||
-rw-r--r-- | net/tipc/node_subscr.c | 2 | ||||
-rw-r--r-- | net/tipc/port.c | 6 | ||||
-rw-r--r-- | net/tipc/port.h | 2 | ||||
-rw-r--r-- | net/tipc/subscr.c | 3 | ||||
-rw-r--r-- | net/tipc/zone.c | 3 |
22 files changed, 0 insertions, 77 deletions
diff --git a/net/tipc/addr.c b/net/tipc/addr.c index 8a2e89bffde5..886715a75259 100644 --- a/net/tipc/addr.c +++ b/net/tipc/addr.c | |||
@@ -35,11 +35,9 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "dbg.h" | ||
39 | #include "addr.h" | 38 | #include "addr.h" |
40 | #include "zone.h" | 39 | #include "zone.h" |
41 | #include "cluster.h" | 40 | #include "cluster.h" |
42 | #include "net.h" | ||
43 | 41 | ||
44 | /** | 42 | /** |
45 | * tipc_addr_domain_valid - validates a network domain address | 43 | * tipc_addr_domain_valid - validates a network domain address |
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index 7d449f03c385..6d828d9eda42 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c | |||
@@ -36,18 +36,9 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "core.h" | 38 | #include "core.h" |
39 | #include "msg.h" | ||
40 | #include "dbg.h" | ||
41 | #include "link.h" | 39 | #include "link.h" |
42 | #include "net.h" | ||
43 | #include "node.h" | ||
44 | #include "port.h" | 40 | #include "port.h" |
45 | #include "addr.h" | ||
46 | #include "node_subscr.h" | ||
47 | #include "name_distr.h" | 41 | #include "name_distr.h" |
48 | #include "bearer.h" | ||
49 | #include "name_table.h" | ||
50 | #include "port.h" | ||
51 | #include "bcast.h" | 42 | #include "bcast.h" |
52 | 43 | ||
53 | #define MAX_PKT_DEFAULT_MCAST 1500 /* bcast link max packet size (fixed) */ | 44 | #define MAX_PKT_DEFAULT_MCAST 1500 /* bcast link max packet size (fixed) */ |
diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c index 9927d1d56c4f..347f255b0de2 100644 --- a/net/tipc/bearer.c +++ b/net/tipc/bearer.c | |||
@@ -36,12 +36,9 @@ | |||
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "config.h" | 38 | #include "config.h" |
39 | #include "dbg.h" | ||
40 | #include "bearer.h" | 39 | #include "bearer.h" |
41 | #include "link.h" | ||
42 | #include "port.h" | 40 | #include "port.h" |
43 | #include "discover.h" | 41 | #include "discover.h" |
44 | #include "bcast.h" | ||
45 | 42 | ||
46 | #define MAX_ADDR_STR 32 | 43 | #define MAX_ADDR_STR 32 |
47 | 44 | ||
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index 49af7fae8b5a..8dc0e9268a28 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h | |||
@@ -37,7 +37,6 @@ | |||
37 | #ifndef _TIPC_BEARER_H | 37 | #ifndef _TIPC_BEARER_H |
38 | #define _TIPC_BEARER_H | 38 | #define _TIPC_BEARER_H |
39 | 39 | ||
40 | #include "core.h" | ||
41 | #include "bcast.h" | 40 | #include "bcast.h" |
42 | 41 | ||
43 | #define MAX_BEARERS 8 | 42 | #define MAX_BEARERS 8 |
diff --git a/net/tipc/cluster.c b/net/tipc/cluster.c index 7fea14b98b97..ee251798d482 100644 --- a/net/tipc/cluster.c +++ b/net/tipc/cluster.c | |||
@@ -36,13 +36,7 @@ | |||
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "cluster.h" | 38 | #include "cluster.h" |
39 | #include "addr.h" | ||
40 | #include "node_subscr.h" | ||
41 | #include "link.h" | 39 | #include "link.h" |
42 | #include "node.h" | ||
43 | #include "net.h" | ||
44 | #include "msg.h" | ||
45 | #include "bearer.h" | ||
46 | 40 | ||
47 | static void tipc_cltr_multicast(struct cluster *c_ptr, struct sk_buff *buf, | 41 | static void tipc_cltr_multicast(struct cluster *c_ptr, struct sk_buff *buf, |
48 | u32 lower, u32 upper); | 42 | u32 lower, u32 upper); |
diff --git a/net/tipc/config.c b/net/tipc/config.c index 82267f3cd3b7..5bb369669729 100644 --- a/net/tipc/config.c +++ b/net/tipc/config.c | |||
@@ -35,14 +35,9 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "dbg.h" | ||
39 | #include "bearer.h" | ||
40 | #include "port.h" | 38 | #include "port.h" |
41 | #include "link.h" | 39 | #include "link.h" |
42 | #include "zone.h" | ||
43 | #include "addr.h" | ||
44 | #include "name_table.h" | 40 | #include "name_table.h" |
45 | #include "node.h" | ||
46 | #include "user_reg.h" | 41 | #include "user_reg.h" |
47 | #include "config.h" | 42 | #include "config.h" |
48 | 43 | ||
diff --git a/net/tipc/config.h b/net/tipc/config.h index 481e12ece715..443159a166fd 100644 --- a/net/tipc/config.h +++ b/net/tipc/config.h | |||
@@ -39,7 +39,6 @@ | |||
39 | 39 | ||
40 | /* ---------------------------------------------------------------------- */ | 40 | /* ---------------------------------------------------------------------- */ |
41 | 41 | ||
42 | #include "core.h" | ||
43 | #include "link.h" | 42 | #include "link.h" |
44 | 43 | ||
45 | struct sk_buff *tipc_cfg_reply_alloc(int payload_size); | 44 | struct sk_buff *tipc_cfg_reply_alloc(int payload_size); |
diff --git a/net/tipc/core.c b/net/tipc/core.c index 785362f6a411..f5d62c174de2 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/random.h> | 40 | #include <linux/random.h> |
41 | 41 | ||
42 | #include "core.h" | 42 | #include "core.h" |
43 | #include "dbg.h" | ||
44 | #include "ref.h" | 43 | #include "ref.h" |
45 | #include "net.h" | 44 | #include "net.h" |
46 | #include "user_reg.h" | 45 | #include "user_reg.h" |
diff --git a/net/tipc/discover.c b/net/tipc/discover.c index 4a7cd3719b78..f2ce36baf42e 100644 --- a/net/tipc/discover.c +++ b/net/tipc/discover.c | |||
@@ -35,9 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "dbg.h" | ||
39 | #include "link.h" | 38 | #include "link.h" |
40 | #include "zone.h" | ||
41 | #include "discover.h" | 39 | #include "discover.h" |
42 | #include "port.h" | 40 | #include "port.h" |
43 | #include "name_table.h" | 41 | #include "name_table.h" |
diff --git a/net/tipc/discover.h b/net/tipc/discover.h index f8e750636123..d2c3cffb79fc 100644 --- a/net/tipc/discover.h +++ b/net/tipc/discover.h | |||
@@ -37,8 +37,6 @@ | |||
37 | #ifndef _TIPC_DISCOVER_H | 37 | #ifndef _TIPC_DISCOVER_H |
38 | #define _TIPC_DISCOVER_H | 38 | #define _TIPC_DISCOVER_H |
39 | 39 | ||
40 | #include "core.h" | ||
41 | |||
42 | struct link_req; | 40 | struct link_req; |
43 | 41 | ||
44 | struct link_req *tipc_disc_init_link_req(struct bearer *b_ptr, | 42 | struct link_req *tipc_disc_init_link_req(struct bearer *b_ptr, |
diff --git a/net/tipc/link.c b/net/tipc/link.c index b31992ccd5d3..aee6579438c7 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c | |||
@@ -35,19 +35,11 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "dbg.h" | ||
39 | #include "link.h" | 38 | #include "link.h" |
40 | #include "net.h" | ||
41 | #include "node.h" | ||
42 | #include "port.h" | 39 | #include "port.h" |
43 | #include "addr.h" | ||
44 | #include "node_subscr.h" | ||
45 | #include "name_distr.h" | 40 | #include "name_distr.h" |
46 | #include "bearer.h" | ||
47 | #include "name_table.h" | ||
48 | #include "discover.h" | 41 | #include "discover.h" |
49 | #include "config.h" | 42 | #include "config.h" |
50 | #include "bcast.h" | ||
51 | 43 | ||
52 | 44 | ||
53 | /* | 45 | /* |
diff --git a/net/tipc/link.h b/net/tipc/link.h index f98bc613de67..c562888d25da 100644 --- a/net/tipc/link.h +++ b/net/tipc/link.h | |||
@@ -39,7 +39,6 @@ | |||
39 | 39 | ||
40 | #include "dbg.h" | 40 | #include "dbg.h" |
41 | #include "msg.h" | 41 | #include "msg.h" |
42 | #include "bearer.h" | ||
43 | #include "node.h" | 42 | #include "node.h" |
44 | 43 | ||
45 | #define PUSH_FAILED 1 | 44 | #define PUSH_FAILED 1 |
diff --git a/net/tipc/msg.c b/net/tipc/msg.c index ecb532fb0351..ee6b4c68d4a4 100644 --- a/net/tipc/msg.c +++ b/net/tipc/msg.c | |||
@@ -36,9 +36,7 @@ | |||
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "addr.h" | 38 | #include "addr.h" |
39 | #include "dbg.h" | ||
40 | #include "msg.h" | 39 | #include "msg.h" |
41 | #include "bearer.h" | ||
42 | 40 | ||
43 | u32 tipc_msg_tot_importance(struct tipc_msg *m) | 41 | u32 tipc_msg_tot_importance(struct tipc_msg *m) |
44 | { | 42 | { |
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c index 7b907171f879..10ff48be3c01 100644 --- a/net/tipc/name_distr.c +++ b/net/tipc/name_distr.c | |||
@@ -36,9 +36,7 @@ | |||
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "cluster.h" | 38 | #include "cluster.h" |
39 | #include "dbg.h" | ||
40 | #include "link.h" | 39 | #include "link.h" |
41 | #include "msg.h" | ||
42 | #include "name_distr.h" | 40 | #include "name_distr.h" |
43 | 41 | ||
44 | #define ITEM_SIZE sizeof(struct distr_item) | 42 | #define ITEM_SIZE sizeof(struct distr_item) |
diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c index 3a8de4334da1..d5adb0456746 100644 --- a/net/tipc/name_table.c +++ b/net/tipc/name_table.c | |||
@@ -36,15 +36,10 @@ | |||
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "config.h" | 38 | #include "config.h" |
39 | #include "dbg.h" | ||
40 | #include "name_table.h" | 39 | #include "name_table.h" |
41 | #include "name_distr.h" | 40 | #include "name_distr.h" |
42 | #include "addr.h" | ||
43 | #include "node_subscr.h" | ||
44 | #include "subscr.h" | 41 | #include "subscr.h" |
45 | #include "port.h" | 42 | #include "port.h" |
46 | #include "cluster.h" | ||
47 | #include "bcast.h" | ||
48 | 43 | ||
49 | static int tipc_nametbl_size = 1024; /* must be a power of 2 */ | 44 | static int tipc_nametbl_size = 1024; /* must be a power of 2 */ |
50 | 45 | ||
diff --git a/net/tipc/net.c b/net/tipc/net.c index 1a621cfd6604..c2b4b86c2e6a 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c | |||
@@ -35,18 +35,13 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "bearer.h" | ||
39 | #include "net.h" | 38 | #include "net.h" |
40 | #include "zone.h" | 39 | #include "zone.h" |
41 | #include "addr.h" | ||
42 | #include "name_table.h" | 40 | #include "name_table.h" |
43 | #include "name_distr.h" | 41 | #include "name_distr.h" |
44 | #include "subscr.h" | 42 | #include "subscr.h" |
45 | #include "link.h" | 43 | #include "link.h" |
46 | #include "msg.h" | ||
47 | #include "port.h" | 44 | #include "port.h" |
48 | #include "bcast.h" | ||
49 | #include "discover.h" | ||
50 | #include "config.h" | 45 | #include "config.h" |
51 | 46 | ||
52 | /* | 47 | /* |
diff --git a/net/tipc/node.c b/net/tipc/node.c index b4d87eb2dc5d..bd959a855fd5 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -37,13 +37,7 @@ | |||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "config.h" | 38 | #include "config.h" |
39 | #include "node.h" | 39 | #include "node.h" |
40 | #include "cluster.h" | ||
41 | #include "net.h" | ||
42 | #include "addr.h" | ||
43 | #include "node_subscr.h" | ||
44 | #include "link.h" | ||
45 | #include "port.h" | 40 | #include "port.h" |
46 | #include "bearer.h" | ||
47 | #include "name_distr.h" | 41 | #include "name_distr.h" |
48 | 42 | ||
49 | void node_print(struct print_buf *buf, struct tipc_node *n_ptr, char *str); | 43 | void node_print(struct print_buf *buf, struct tipc_node *n_ptr, char *str); |
diff --git a/net/tipc/node_subscr.c b/net/tipc/node_subscr.c index 19194d476a9e..018a55332d91 100644 --- a/net/tipc/node_subscr.c +++ b/net/tipc/node_subscr.c | |||
@@ -35,10 +35,8 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "dbg.h" | ||
39 | #include "node_subscr.h" | 38 | #include "node_subscr.h" |
40 | #include "node.h" | 39 | #include "node.h" |
41 | #include "addr.h" | ||
42 | 40 | ||
43 | /** | 41 | /** |
44 | * tipc_nodesub_subscribe - create "node down" subscription for specified node | 42 | * tipc_nodesub_subscribe - create "node down" subscription for specified node |
diff --git a/net/tipc/port.c b/net/tipc/port.c index 82092eaa1536..e822117b79ad 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c | |||
@@ -36,15 +36,9 @@ | |||
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "config.h" | 38 | #include "config.h" |
39 | #include "dbg.h" | ||
40 | #include "port.h" | 39 | #include "port.h" |
41 | #include "addr.h" | ||
42 | #include "link.h" | ||
43 | #include "node.h" | ||
44 | #include "name_table.h" | 40 | #include "name_table.h" |
45 | #include "user_reg.h" | 41 | #include "user_reg.h" |
46 | #include "msg.h" | ||
47 | #include "bcast.h" | ||
48 | 42 | ||
49 | /* Connection management: */ | 43 | /* Connection management: */ |
50 | #define PROBING_INTERVAL 3600000 /* [ms] => 1 h */ | 44 | #define PROBING_INTERVAL 3600000 /* [ms] => 1 h */ |
diff --git a/net/tipc/port.h b/net/tipc/port.h index 8b9d87a3efae..e038ce1ef8e8 100644 --- a/net/tipc/port.h +++ b/net/tipc/port.h | |||
@@ -37,11 +37,9 @@ | |||
37 | #ifndef _TIPC_PORT_H | 37 | #ifndef _TIPC_PORT_H |
38 | #define _TIPC_PORT_H | 38 | #define _TIPC_PORT_H |
39 | 39 | ||
40 | #include "core.h" | ||
41 | #include "ref.h" | 40 | #include "ref.h" |
42 | #include "net.h" | 41 | #include "net.h" |
43 | #include "msg.h" | 42 | #include "msg.h" |
44 | #include "dbg.h" | ||
45 | #include "node_subscr.h" | 43 | #include "node_subscr.h" |
46 | 44 | ||
47 | #define TIPC_FLOW_CONTROL_WIN 512 | 45 | #define TIPC_FLOW_CONTROL_WIN 512 |
diff --git a/net/tipc/subscr.c b/net/tipc/subscr.c index a857e6ea857e..e7fb38ba577d 100644 --- a/net/tipc/subscr.c +++ b/net/tipc/subscr.c | |||
@@ -35,11 +35,8 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "dbg.h" | ||
39 | #include "name_table.h" | 38 | #include "name_table.h" |
40 | #include "user_reg.h" | 39 | #include "user_reg.h" |
41 | #include "port.h" | ||
42 | #include "ref.h" | ||
43 | #include "subscr.h" | 40 | #include "subscr.h" |
44 | 41 | ||
45 | /** | 42 | /** |
diff --git a/net/tipc/zone.c b/net/tipc/zone.c index 83f8b5e91fc8..1b61ca8c48ef 100644 --- a/net/tipc/zone.c +++ b/net/tipc/zone.c | |||
@@ -36,9 +36,6 @@ | |||
36 | 36 | ||
37 | #include "core.h" | 37 | #include "core.h" |
38 | #include "zone.h" | 38 | #include "zone.h" |
39 | #include "net.h" | ||
40 | #include "addr.h" | ||
41 | #include "node_subscr.h" | ||
42 | #include "cluster.h" | 39 | #include "cluster.h" |
43 | #include "node.h" | 40 | #include "node.h" |
44 | 41 | ||