Skip to content

Commit

Permalink
tipc: remove redundant #includes
Browse files Browse the repository at this point in the history
Eliminates a number of #include statements that no longer serve any
useful purpose.

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 Jan 1, 2011
1 parent 6e7e309 commit 886ef52
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 32 deletions.
1 change: 0 additions & 1 deletion net/tipc/addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
*/

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

/**
Expand Down
1 change: 0 additions & 1 deletion net/tipc/bcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include "core.h"
#include "link.h"
#include "port.h"
#include "name_distr.h"
#include "bcast.h"

#define MAX_PKT_DEFAULT_MCAST 1500 /* bcast link max packet size (fixed) */
Expand Down
1 change: 0 additions & 1 deletion net/tipc/bearer.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include "core.h"
#include "config.h"
#include "bearer.h"
#include "port.h"
#include "discover.h"

#define MAX_ADDR_STR 32
Expand Down
1 change: 0 additions & 1 deletion net/tipc/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

#include "core.h"
#include "port.h"
#include "link.h"
#include "name_table.h"
#include "config.h"

Expand Down
6 changes: 0 additions & 6 deletions net/tipc/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/random.h>

#include "core.h"
#include "ref.h"
#include "net.h"
#include "name_table.h"
#include "subscr.h"
#include "config.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 @@ -37,8 +37,6 @@
#include "core.h"
#include "link.h"
#include "discover.h"
#include "port.h"
#include "name_table.h"

#define TIPC_LINK_REQ_INIT 125 /* min delay during bearer start up */
#define TIPC_LINK_REQ_FAST 2000 /* normal delay if bearer has no links */
Expand Down
4 changes: 0 additions & 4 deletions net/tipc/eth_media.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#include <linux/netdevice.h>
#include <linux/slab.h>
#include <net/net_namespace.h>

#include "core.h"
#include "bearer.h"

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

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

u32 tipc_msg_tot_importance(struct tipc_msg *m)
Expand Down
1 change: 0 additions & 1 deletion net/tipc/name_distr.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
*/

#include "core.h"
#include "addr.h"
#include "link.h"
#include "name_distr.h"

Expand Down
2 changes: 0 additions & 2 deletions net/tipc/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@

#include "core.h"
#include "net.h"
#include "name_table.h"
#include "name_distr.h"
#include "subscr.h"
#include "link.h"
#include "port.h"
#include "config.h"

Expand Down
1 change: 0 additions & 1 deletion net/tipc/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include "core.h"
#include "config.h"
#include "node.h"
#include "port.h"
#include "name_distr.h"

static void node_lost_contact(struct tipc_node *n_ptr);
Expand Down
11 changes: 0 additions & 11 deletions net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#include <linux/module.h>
#include <linux/types.h>
#include <linux/net.h>
#include <linux/socket.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/poll.h>
#include <linux/fcntl.h>
#include <linux/gfp.h>
#include <asm/string.h>
#include <asm/atomic.h>
#include <net/sock.h>

#include <linux/tipc.h>
Expand Down

0 comments on commit 886ef52

Please sign in to comment.