[PATCH net-next] net/packet: remove unneeded declaraion of tpacket_snd().

Subsystems: networking [general], packet sockets, the rest

STALE3418d

2 messages, 2 authors, 2017-06-10 · open the first message on its own page

[PATCH net-next] net/packet: remove unneeded declaraion of tpacket_snd().

From: Rami Rosen <hidden>
Date: 2017-06-10 07:28:42

This patch removes unneeded forward declaration of tpacket_snd()
in net/packet/af_packet.c.

Signed-off-by: Rami Rosen <redacted>
---
 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

Re: [PATCH net-next] net/packet: remove unneeded declaraion of tpacket_snd().

From: David Miller <davem@davemloft.net>
Date: 2017-06-10 20:15:36

From: Rami Rosen <redacted>
Date: Sat, 10 Jun 2017 03:22:48 +0300
This patch removes unneeded forward declaration of tpacket_snd()
in net/packet/af_packet.c.

Signed-off-by: Rami Rosen <redacted>
Applied, thanks Rami.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help