Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 631c06e7 authored by Matt Wagantall's avatar Matt Wagantall
Browse files

net: PPPoPNS: use updated data_ready API definition



data_ready(struct sock *) no longer takes a length argument.
Remove length argument in the implementation of this function
in PPPoPNS. It was never used anyway.

Change-Id: I457cedd375a490dd85e60f172b4122b4c7ba36f0
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 095c42a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ drop:
	return NET_RX_DROP;
}

static void pppopns_recv(struct sock *sk_raw, int length)
static void pppopns_recv(struct sock *sk_raw)
{
	struct sk_buff *skb;
	while ((skb = skb_dequeue(&sk_raw->sk_receive_queue))) {
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ struct pppopns_opt {
	__u16		remote;
	__u32		recv_sequence;
	__u32		xmit_sequence;
	void		(*data_ready)(struct sock *sk_raw, int length);
	void		(*data_ready)(struct sock *sk_raw);
	int		(*backlog_rcv)(struct sock *sk_raw, struct sk_buff *skb);
};