netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 1/2] tipc: make local function static
@ 2014-01-04 21:47 Stephen Hemminger
  2014-01-04 21:49 ` [PATCH net-next 2/2] tipc: remove unused code Stephen Hemminger
  2014-01-05  1:20 ` [PATCH net-next 1/2] tipc: make local function static David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Hemminger @ 2014-01-04 21:47 UTC (permalink / raw)
  To: Jon Maloy, David Miller; +Cc: netdev


Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

---
 net/tipc/link.c |    2 +-
 net/tipc/link.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

--- a/net/tipc/link.c	2014-01-04 13:39:54.308221241 -0800
+++ b/net/tipc/link.c	2014-01-04 13:42:25.189725016 -0800
@@ -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;
--- a/net/tipc/link.h	2014-01-04 13:39:54.308221241 -0800
+++ b/net/tipc/link.h	2014-01-04 13:42:25.189725016 -0800
@@ -221,7 +221,6 @@ void tipc_link_send_duplicate(struct tip
 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);

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-05  1:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-04 21:47 [PATCH net-next 1/2] tipc: make local function static Stephen Hemminger
2014-01-04 21:49 ` [PATCH net-next 2/2] tipc: remove unused code Stephen Hemminger
2014-01-05  1:20   ` David Miller
2014-01-05  1:20 ` [PATCH net-next 1/2] tipc: make local function static David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).