From: Rosen, Rami Date: Sat, 10 Jun 2017 00:22:48 +0000 (+0300) Subject: net/packet: remove unneeded declaraion of tpacket_snd(). X-Git-Tag: v4.13-rc1~157^2~227 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=664f46a2907536254989412c94ccafdb08f7d6e0;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: David S. Miller --- diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 82ca49f..f9349a4 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);