From: Stephen Hemminger <stephen@networkplumber.org>
To: Jon Maloy <jon.maloy@ericsson.com>, David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH net-next 1/2] tipc: make local function static
Date: Sat, 4 Jan 2014 13:47:48 -0800 [thread overview]
Message-ID: <20140104134748.0ddff391@nehalam.linuxnetplumber.net> (raw)
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);
next reply other threads:[~2014-01-04 22:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-04 21:47 Stephen Hemminger [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140104134748.0ddff391@nehalam.linuxnetplumber.net \
--to=stephen@networkplumber.org \
--cc=davem@davemloft.net \
--cc=jon.maloy@ericsson.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.