Skip to content

Commit 664f46a

Browse files
Rosen, Ramidavem330
authored andcommitted
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>
1 parent 384abed commit 664f46a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/packet/af_packet.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ static int packet_set_ring(struct sock *sk, union tpacket_req_u *req_u,
188188
#define BLOCK_PRIV(x) ((void *)((char *)(x) + BLOCK_O2PRIV(x)))
189189

190190
struct packet_sock;
191-
static int tpacket_snd(struct packet_sock *po, struct msghdr *msg);
192191
static int tpacket_rcv(struct sk_buff *skb, struct net_device *dev,
193192
struct packet_type *pt, struct net_device *orig_dev);
194193

0 commit comments

Comments
 (0)