skb_queue_head_init(©);
skb_migrate(&vcc->sk->sk_receive_queue, ©);
/* re-process everything received between connection setup and MKIP */
- while ((skb = skb_dequeue(©)))
+ while ((skb = skb_dequeue(©)) != NULL)
if (!clip_devs) {
atm_return(vcc,skb->truesize);
kfree_skb(skb);
/* so neigh_ifdown() doesn't complain */
clip_tbl.proxy_timer.data = 0;
- clip_tbl.proxy_timer.function = 0;
+ clip_tbl.proxy_timer.function = NULL;
init_timer(&clip_tbl.proxy_timer);
skb_queue_head_init(&clip_tbl.proxy_queue);