net: remove dead code after sk_data_ready change
authorEric Dumazet <edumazet@google.com>
Sat, 23 Aug 2014 03:30:12 +0000 (20:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Aug 2014 04:08:50 +0000 (21:08 -0700)
commit884cf705c7e60bc6ade7ddafcbe943af4dc84604
tree6eae5bde7592b9e7adf32eeff183571cb60086f8
parentd2de875c6d4cbec8a99c880160181a3ed5b9992e
net: remove dead code after sk_data_ready change

As a followup to commit 676d23690fb ("net: Fix use after free by
removing length arg from sk_data_ready callbacks"), we can remove
some useless code in sock_queue_rcv_skb() and rxrpc_queue_rcv_skb()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c
net/rxrpc/ar-input.c