diff options
Diffstat (limited to 'net/atm/raw.c')
-rw-r--r-- | net/atm/raw.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/net/atm/raw.c b/net/atm/raw.c index 1378f61c5c31..b0a2d8cb6744 100644 --- a/net/atm/raw.c +++ b/net/atm/raw.c | |||
@@ -13,14 +13,6 @@ | |||
13 | #include "common.h" | 13 | #include "common.h" |
14 | #include "protocols.h" | 14 | #include "protocols.h" |
15 | 15 | ||
16 | |||
17 | #if 0 | ||
18 | #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) | ||
19 | #else | ||
20 | #define DPRINTK(format,args...) | ||
21 | #endif | ||
22 | |||
23 | |||
24 | /* | 16 | /* |
25 | * SKB == NULL indicates that the link is being closed | 17 | * SKB == NULL indicates that the link is being closed |
26 | */ | 18 | */ |
@@ -40,8 +32,8 @@ static void atm_pop_raw(struct atm_vcc *vcc,struct sk_buff *skb) | |||
40 | { | 32 | { |
41 | struct sock *sk = sk_atm(vcc); | 33 | struct sock *sk = sk_atm(vcc); |
42 | 34 | ||
43 | DPRINTK("APopR (%d) %d -= %d\n", vcc->vci, sk->sk_wmem_alloc, | 35 | pr_debug("APopR (%d) %d -= %d\n", vcc->vci, |
44 | skb->truesize); | 36 | atomic_read(&sk->sk_wmem_alloc), skb->truesize); |
45 | atomic_sub(skb->truesize, &sk->sk_wmem_alloc); | 37 | atomic_sub(skb->truesize, &sk->sk_wmem_alloc); |
46 | dev_kfree_skb_any(skb); | 38 | dev_kfree_skb_any(skb); |
47 | sk->sk_write_space(sk); | 39 | sk->sk_write_space(sk); |