* [PATCH net-next] net/packet: remove unneeded declaraion of tpacket_snd().
@ 2017-06-10 0:22 Rami Rosen
2017-06-10 20:15 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2017-06-10 0:22 UTC (permalink / raw)
To: davem; +Cc: netdev, Rami Rosen
This patch removes unneeded forward declaration of tpacket_snd()
in net/packet/af_packet.c.
Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
net/packet/af_packet.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index 82ca49fba336..f9349a495caf 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -188,7 +188,6 @@ static int packet_set_ring(struct sock *sk, union tpacket_req_u *req_u,
#define BLOCK_PRIV(x) ((void *)((char *)(x) + BLOCK_O2PRIV(x)))
struct packet_sock;
-static int tpacket_snd(struct packet_sock *po, struct msghdr *msg);
static int tpacket_rcv(struct sk_buff *skb, struct net_device *dev,
struct packet_type *pt, struct net_device *orig_dev);
--
2.4.11
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-10 20:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-10 0:22 [PATCH net-next] net/packet: remove unneeded declaraion of tpacket_snd() Rami Rosen
2017-06-10 20:15 ` 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).