summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRosen, Rami <rami.rosen@intel.com>2017-06-10 03:22:48 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-10 16:15:25 -0400
commit664f46a2907536254989412c94ccafdb08f7d6e0 (patch)
treecd493429992b61bbf54f3a43748a77c7c5256cf5 /net
parent384abed1fe49cd3f473d61d3297a6fec5e420699 (diff)
net/packet: remove unneeded declaraion of tpacket_snd().
This patch removes unneeded forward declaration of tpacket_snd() in net/packet/af_packet.c. Signed-off-by: Rami Rosen <rami.rosen@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/packet/af_packet.c1
1 files changed, 0 insertions, 1 deletions
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);