net: sk_drops consolidation
[linux-2.6.git] / net / phonet / pep.c
index 5f32d217535b4695667dc3e75ea3e0bcaab9a15e..cbaa1d67d77b17ac37dd0ce58a91a2a959365ed8 100644 (file)
@@ -360,8 +360,6 @@ static int pipe_do_rcv(struct sock *sk, struct sk_buff *skb)
                        err = sock_queue_rcv_skb(sk, skb);
                        if (!err)
                                return 0;
-                       if (err == -ENOMEM)
-                               atomic_inc(&sk->sk_drops);
                        break;
                }