Commit c8026282 authored by Allan Stephens's avatar Allan Stephens Committed by David S. Miller

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: default avatarAllan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d265fef6
...@@ -35,11 +35,9 @@ ...@@ -35,11 +35,9 @@
*/ */
#include "core.h" #include "core.h"
#include "dbg.h"
#include "addr.h" #include "addr.h"
#include "zone.h" #include "zone.h"
#include "cluster.h" #include "cluster.h"
#include "net.h"
/** /**
* tipc_addr_domain_valid - validates a network domain address * tipc_addr_domain_valid - validates a network domain address
......
...@@ -36,18 +36,9 @@ ...@@ -36,18 +36,9 @@
*/ */
#include "core.h" #include "core.h"
#include "msg.h"
#include "dbg.h"
#include "link.h" #include "link.h"
#include "net.h"
#include "node.h"
#include "port.h" #include "port.h"
#include "addr.h"
#include "node_subscr.h"
#include "name_distr.h" #include "name_distr.h"
#include "bearer.h"
#include "name_table.h"
#include "port.h"
#include "bcast.h" #include "bcast.h"
#define MAX_PKT_DEFAULT_MCAST 1500 /* bcast link max packet size (fixed) */ #define MAX_PKT_DEFAULT_MCAST 1500 /* bcast link max packet size (fixed) */
......
...@@ -36,12 +36,9 @@ ...@@ -36,12 +36,9 @@
#include "core.h" #include "core.h"
#include "config.h" #include "config.h"
#include "dbg.h"
#include "bearer.h" #include "bearer.h"
#include "link.h"
#include "port.h" #include "port.h"
#include "discover.h" #include "discover.h"
#include "bcast.h"
#define MAX_ADDR_STR 32 #define MAX_ADDR_STR 32
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#ifndef _TIPC_BEARER_H #ifndef _TIPC_BEARER_H
#define _TIPC_BEARER_H #define _TIPC_BEARER_H
#include "core.h"
#include "bcast.h" #include "bcast.h"
#define MAX_BEARERS 8 #define MAX_BEARERS 8
......
...@@ -36,13 +36,7 @@ ...@@ -36,13 +36,7 @@
#include "core.h" #include "core.h"
#include "cluster.h" #include "cluster.h"
#include "addr.h"
#include "node_subscr.h"
#include "link.h" #include "link.h"
#include "node.h"
#include "net.h"
#include "msg.h"
#include "bearer.h"
static void tipc_cltr_multicast(struct cluster *c_ptr, struct sk_buff *buf, static void tipc_cltr_multicast(struct cluster *c_ptr, struct sk_buff *buf,
u32 lower, u32 upper); u32 lower, u32 upper);
......
...@@ -35,14 +35,9 @@ ...@@ -35,14 +35,9 @@
*/ */
#include "core.h" #include "core.h"
#include "dbg.h"
#include "bearer.h"
#include "port.h" #include "port.h"
#include "link.h" #include "link.h"
#include "zone.h"
#include "addr.h"
#include "name_table.h" #include "name_table.h"
#include "node.h"
#include "user_reg.h" #include "user_reg.h"
#include "config.h" #include "config.h"
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
#include "core.h"
#include "link.h" #include "link.h"
struct sk_buff *tipc_cfg_reply_alloc(int payload_size); struct sk_buff *tipc_cfg_reply_alloc(int payload_size);
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include <linux/random.h> #include <linux/random.h>
#include "core.h" #include "core.h"
#include "dbg.h"
#include "ref.h" #include "ref.h"
#include "net.h" #include "net.h"
#include "user_reg.h" #include "user_reg.h"
......
...@@ -35,9 +35,7 @@ ...@@ -35,9 +35,7 @@
*/ */
#include "core.h" #include "core.h"
#include "dbg.h"
#include "link.h" #include "link.h"
#include "zone.h"
#include "discover.h" #include "discover.h"
#include "port.h" #include "port.h"
#include "name_table.h" #include "name_table.h"
......
...@@ -37,8 +37,6 @@ ...@@ -37,8 +37,6 @@
#ifndef _TIPC_DISCOVER_H #ifndef _TIPC_DISCOVER_H
#define _TIPC_DISCOVER_H #define _TIPC_DISCOVER_H
#include "core.h"
struct link_req; struct link_req;
struct link_req *tipc_disc_init_link_req(struct bearer *b_ptr, struct link_req *tipc_disc_init_link_req(struct bearer *b_ptr,
......
...@@ -35,19 +35,11 @@ ...@@ -35,19 +35,11 @@
*/ */
#include "core.h" #include "core.h"
#include "dbg.h"
#include "link.h" #include "link.h"
#include "net.h"
#include "node.h"
#include "port.h" #include "port.h"
#include "addr.h"
#include "node_subscr.h"
#include "name_distr.h" #include "name_distr.h"
#include "bearer.h"
#include "name_table.h"
#include "discover.h" #include "discover.h"
#include "config.h" #include "config.h"
#include "bcast.h"
/* /*
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include "dbg.h" #include "dbg.h"
#include "msg.h" #include "msg.h"
#include "bearer.h"
#include "node.h" #include "node.h"
#define PUSH_FAILED 1 #define PUSH_FAILED 1
......
...@@ -36,9 +36,7 @@ ...@@ -36,9 +36,7 @@
#include "core.h" #include "core.h"
#include "addr.h" #include "addr.h"
#include "dbg.h"
#include "msg.h" #include "msg.h"
#include "bearer.h"
u32 tipc_msg_tot_importance(struct tipc_msg *m) u32 tipc_msg_tot_importance(struct tipc_msg *m)
{ {
......
...@@ -36,9 +36,7 @@ ...@@ -36,9 +36,7 @@
#include "core.h" #include "core.h"
#include "cluster.h" #include "cluster.h"
#include "dbg.h"
#include "link.h" #include "link.h"
#include "msg.h"
#include "name_distr.h" #include "name_distr.h"
#define ITEM_SIZE sizeof(struct distr_item) #define ITEM_SIZE sizeof(struct distr_item)
......
...@@ -36,15 +36,10 @@ ...@@ -36,15 +36,10 @@
#include "core.h" #include "core.h"
#include "config.h" #include "config.h"
#include "dbg.h"
#include "name_table.h" #include "name_table.h"
#include "name_distr.h" #include "name_distr.h"
#include "addr.h"
#include "node_subscr.h"
#include "subscr.h" #include "subscr.h"
#include "port.h" #include "port.h"
#include "cluster.h"
#include "bcast.h"
static int tipc_nametbl_size = 1024; /* must be a power of 2 */ static int tipc_nametbl_size = 1024; /* must be a power of 2 */
......
...@@ -35,18 +35,13 @@ ...@@ -35,18 +35,13 @@
*/ */
#include "core.h" #include "core.h"
#include "bearer.h"
#include "net.h" #include "net.h"
#include "zone.h" #include "zone.h"
#include "addr.h"
#include "name_table.h" #include "name_table.h"
#include "name_distr.h" #include "name_distr.h"
#include "subscr.h" #include "subscr.h"
#include "link.h" #include "link.h"
#include "msg.h"
#include "port.h" #include "port.h"
#include "bcast.h"
#include "discover.h"
#include "config.h" #include "config.h"
/* /*
......
...@@ -37,13 +37,7 @@ ...@@ -37,13 +37,7 @@
#include "core.h" #include "core.h"
#include "config.h" #include "config.h"
#include "node.h" #include "node.h"
#include "cluster.h"
#include "net.h"
#include "addr.h"
#include "node_subscr.h"
#include "link.h"
#include "port.h" #include "port.h"
#include "bearer.h"
#include "name_distr.h" #include "name_distr.h"
void node_print(struct print_buf *buf, struct tipc_node *n_ptr, char *str); void node_print(struct print_buf *buf, struct tipc_node *n_ptr, char *str);
......
...@@ -35,10 +35,8 @@ ...@@ -35,10 +35,8 @@
*/ */
#include "core.h" #include "core.h"
#include "dbg.h"
#include "node_subscr.h" #include "node_subscr.h"
#include "node.h" #include "node.h"
#include "addr.h"
/** /**
* tipc_nodesub_subscribe - create "node down" subscription for specified node * tipc_nodesub_subscribe - create "node down" subscription for specified node
......
...@@ -36,15 +36,9 @@ ...@@ -36,15 +36,9 @@
#include "core.h" #include "core.h"
#include "config.h" #include "config.h"
#include "dbg.h"
#include "port.h" #include "port.h"
#include "addr.h"
#include "link.h"
#include "node.h"
#include "name_table.h" #include "name_table.h"
#include "user_reg.h" #include "user_reg.h"
#include "msg.h"
#include "bcast.h"
/* Connection management: */ /* Connection management: */
#define PROBING_INTERVAL 3600000 /* [ms] => 1 h */ #define PROBING_INTERVAL 3600000 /* [ms] => 1 h */
......
...@@ -37,11 +37,9 @@ ...@@ -37,11 +37,9 @@
#ifndef _TIPC_PORT_H #ifndef _TIPC_PORT_H
#define _TIPC_PORT_H #define _TIPC_PORT_H
#include "core.h"
#include "ref.h" #include "ref.h"
#include "net.h" #include "net.h"
#include "msg.h" #include "msg.h"
#include "dbg.h"
#include "node_subscr.h" #include "node_subscr.h"
#define TIPC_FLOW_CONTROL_WIN 512 #define TIPC_FLOW_CONTROL_WIN 512
......
...@@ -35,11 +35,8 @@ ...@@ -35,11 +35,8 @@
*/ */
#include "core.h" #include "core.h"
#include "dbg.h"
#include "name_table.h" #include "name_table.h"
#include "user_reg.h" #include "user_reg.h"
#include "port.h"
#include "ref.h"
#include "subscr.h" #include "subscr.h"
/** /**
......
...@@ -36,9 +36,6 @@ ...@@ -36,9 +36,6 @@
#include "core.h" #include "core.h"
#include "zone.h" #include "zone.h"
#include "net.h"
#include "addr.h"
#include "node_subscr.h"
#include "cluster.h" #include "cluster.h"
#include "node.h" #include "node.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment