Skip to content

Commit

Permalink
tipc: Remove obsolete inclusions of header files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Allan Stephens authored and David S. Miller committed Dec 2, 2010
1 parent d265fef commit c802628
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 77 deletions.
2 changes: 0 additions & 2 deletions net/tipc/addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@
*/

#include "core.h"
#include "dbg.h"
#include "addr.h"
#include "zone.h"
#include "cluster.h"
#include "net.h"

/**
* tipc_addr_domain_valid - validates a network domain address
Expand Down
9 changes: 0 additions & 9 deletions net/tipc/bcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,9 @@
*/

#include "core.h"
#include "msg.h"
#include "dbg.h"
#include "link.h"
#include "net.h"
#include "node.h"
#include "port.h"
#include "addr.h"
#include "node_subscr.h"
#include "name_distr.h"
#include "bearer.h"
#include "name_table.h"
#include "port.h"
#include "bcast.h"

#define MAX_PKT_DEFAULT_MCAST 1500 /* bcast link max packet size (fixed) */
Expand Down
3 changes: 0 additions & 3 deletions net/tipc/bearer.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,9 @@

#include "core.h"
#include "config.h"
#include "dbg.h"
#include "bearer.h"
#include "link.h"
#include "port.h"
#include "discover.h"
#include "bcast.h"

#define MAX_ADDR_STR 32

Expand Down
1 change: 0 additions & 1 deletion net/tipc/bearer.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#ifndef _TIPC_BEARER_H
#define _TIPC_BEARER_H

#include "core.h"
#include "bcast.h"

#define MAX_BEARERS 8
Expand Down
6 changes: 0 additions & 6 deletions net/tipc/cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@

#include "core.h"
#include "cluster.h"
#include "addr.h"
#include "node_subscr.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,
u32 lower, u32 upper);
Expand Down
5 changes: 0 additions & 5 deletions net/tipc/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,9 @@
*/

#include "core.h"
#include "dbg.h"
#include "bearer.h"
#include "port.h"
#include "link.h"
#include "zone.h"
#include "addr.h"
#include "name_table.h"
#include "node.h"
#include "user_reg.h"
#include "config.h"

Expand Down
1 change: 0 additions & 1 deletion net/tipc/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@

/* ---------------------------------------------------------------------- */

#include "core.h"
#include "link.h"

struct sk_buff *tipc_cfg_reply_alloc(int payload_size);
Expand Down
1 change: 0 additions & 1 deletion net/tipc/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <linux/random.h>

#include "core.h"
#include "dbg.h"
#include "ref.h"
#include "net.h"
#include "user_reg.h"
Expand Down
2 changes: 0 additions & 2 deletions net/tipc/discover.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@
*/

#include "core.h"
#include "dbg.h"
#include "link.h"
#include "zone.h"
#include "discover.h"
#include "port.h"
#include "name_table.h"
Expand Down
2 changes: 0 additions & 2 deletions net/tipc/discover.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
#ifndef _TIPC_DISCOVER_H
#define _TIPC_DISCOVER_H

#include "core.h"

struct link_req;

struct link_req *tipc_disc_init_link_req(struct bearer *b_ptr,
Expand Down
8 changes: 0 additions & 8 deletions net/tipc/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,11 @@
*/

#include "core.h"
#include "dbg.h"
#include "link.h"
#include "net.h"
#include "node.h"
#include "port.h"
#include "addr.h"
#include "node_subscr.h"
#include "name_distr.h"
#include "bearer.h"
#include "name_table.h"
#include "discover.h"
#include "config.h"
#include "bcast.h"


/*
Expand Down
1 change: 0 additions & 1 deletion net/tipc/link.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@

#include "dbg.h"
#include "msg.h"
#include "bearer.h"
#include "node.h"

#define PUSH_FAILED 1
Expand Down
2 changes: 0 additions & 2 deletions net/tipc/msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@

#include "core.h"
#include "addr.h"
#include "dbg.h"
#include "msg.h"
#include "bearer.h"

u32 tipc_msg_tot_importance(struct tipc_msg *m)
{
Expand Down
2 changes: 0 additions & 2 deletions net/tipc/name_distr.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@

#include "core.h"
#include "cluster.h"
#include "dbg.h"
#include "link.h"
#include "msg.h"
#include "name_distr.h"

#define ITEM_SIZE sizeof(struct distr_item)
Expand Down
5 changes: 0 additions & 5 deletions net/tipc/name_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,10 @@

#include "core.h"
#include "config.h"
#include "dbg.h"
#include "name_table.h"
#include "name_distr.h"
#include "addr.h"
#include "node_subscr.h"
#include "subscr.h"
#include "port.h"
#include "cluster.h"
#include "bcast.h"

static int tipc_nametbl_size = 1024; /* must be a power of 2 */

Expand Down
5 changes: 0 additions & 5 deletions net/tipc/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,13 @@
*/

#include "core.h"
#include "bearer.h"
#include "net.h"
#include "zone.h"
#include "addr.h"
#include "name_table.h"
#include "name_distr.h"
#include "subscr.h"
#include "link.h"
#include "msg.h"
#include "port.h"
#include "bcast.h"
#include "discover.h"
#include "config.h"

/*
Expand Down
6 changes: 0 additions & 6 deletions net/tipc/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@
#include "core.h"
#include "config.h"
#include "node.h"
#include "cluster.h"
#include "net.h"
#include "addr.h"
#include "node_subscr.h"
#include "link.h"
#include "port.h"
#include "bearer.h"
#include "name_distr.h"

void node_print(struct print_buf *buf, struct tipc_node *n_ptr, char *str);
Expand Down
2 changes: 0 additions & 2 deletions net/tipc/node_subscr.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@
*/

#include "core.h"
#include "dbg.h"
#include "node_subscr.h"
#include "node.h"
#include "addr.h"

/**
* tipc_nodesub_subscribe - create "node down" subscription for specified node
Expand Down
6 changes: 0 additions & 6 deletions net/tipc/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,9 @@

#include "core.h"
#include "config.h"
#include "dbg.h"
#include "port.h"
#include "addr.h"
#include "link.h"
#include "node.h"
#include "name_table.h"
#include "user_reg.h"
#include "msg.h"
#include "bcast.h"

/* Connection management: */
#define PROBING_INTERVAL 3600000 /* [ms] => 1 h */
Expand Down
2 changes: 0 additions & 2 deletions net/tipc/port.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,9 @@
#ifndef _TIPC_PORT_H
#define _TIPC_PORT_H

#include "core.h"
#include "ref.h"
#include "net.h"
#include "msg.h"
#include "dbg.h"
#include "node_subscr.h"

#define TIPC_FLOW_CONTROL_WIN 512
Expand Down
3 changes: 0 additions & 3 deletions net/tipc/subscr.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@
*/

#include "core.h"
#include "dbg.h"
#include "name_table.h"
#include "user_reg.h"
#include "port.h"
#include "ref.h"
#include "subscr.h"

/**
Expand Down
3 changes: 0 additions & 3 deletions net/tipc/zone.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@

#include "core.h"
#include "zone.h"
#include "net.h"
#include "addr.h"
#include "node_subscr.h"
#include "cluster.h"
#include "node.h"

Expand Down

0 comments on commit c802628

Please sign in to comment.