tipc: make local function static
authorstephen hemminger <stephen@networkplumber.org>
Sat, 4 Jan 2014 21:47:48 +0000 (13:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jan 2014 01:18:50 +0000 (20:18 -0500)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
net/tipc/link.h

index 3d73144a1ccc4dd59449b3252fb154fe4b339da6..131a32a7b1741791c3a83b3f5225cfadc7fc1ad4 100644 (file)
@@ -1169,7 +1169,7 @@ reject:
 /*
  * tipc_link_push_packet: Push one unsent packet to the media
  */
-u32 tipc_link_push_packet(struct tipc_link *l_ptr)
+static u32 tipc_link_push_packet(struct tipc_link *l_ptr)
 {
        struct sk_buff *buf = l_ptr->first_out;
        u32 r_q_size = l_ptr->retransm_queue_size;
index 424b1dfe436b44ee5e1fddc86ae0ba431a86833b..0636ca95be367e727f31353bcb1057fe1b5cf4ef 100644 (file)
@@ -221,7 +221,6 @@ void tipc_link_send_duplicate(struct tipc_link *l_ptr, struct tipc_link *dest);
 void tipc_link_reset_fragments(struct tipc_link *l_ptr);
 int tipc_link_is_up(struct tipc_link *l_ptr);
 int tipc_link_is_active(struct tipc_link *l_ptr);
-u32 tipc_link_push_packet(struct tipc_link *l_ptr);
 void tipc_link_stop(struct tipc_link *l_ptr);
 struct sk_buff *tipc_link_cmd_config(const void *req_tlv_area, int req_tlv_space, u16 cmd);
 struct sk_buff *tipc_link_cmd_show_stats(const void *req_tlv_area, int req_tlv_space);