diff options
Diffstat (limited to 'drivers/net/ppp/pppoe.c')
-rw-r--r-- | drivers/net/ppp/pppoe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ppp/pppoe.c b/drivers/net/ppp/pppoe.c index 5f66e30d9823..82ee6ed954cb 100644 --- a/drivers/net/ppp/pppoe.c +++ b/drivers/net/ppp/pppoe.c | |||
@@ -979,8 +979,6 @@ static int pppoe_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
979 | if (error < 0) | 979 | if (error < 0) |
980 | goto end; | 980 | goto end; |
981 | 981 | ||
982 | m->msg_namelen = 0; | ||
983 | |||
984 | if (skb) { | 982 | if (skb) { |
985 | total_len = min_t(size_t, total_len, skb->len); | 983 | total_len = min_t(size_t, total_len, skb->len); |
986 | error = skb_copy_datagram_iovec(skb, 0, m->msg_iov, total_len); | 984 | error = skb_copy_datagram_iovec(skb, 0, m->msg_iov, total_len); |