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: Matt Wagantall <mattw@codeaurora.org>
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))) {
__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);
int ppp_flags;
};