1 --- a/drivers/atm/solos-pci.c
2 +++ b/drivers/atm/solos-pci.c
3 @@ -866,8 +866,9 @@ static int popen(struct atm_vcc *vcc)
6 skb = alloc_skb(sizeof(*header), GFP_ATOMIC);
7 - if (!skb && net_ratelimit()) {
8 - dev_warn(&card->dev->dev, "Failed to allocate sk_buff in popen()\n");
10 + if (net_ratelimit())
11 + dev_warn(&card->dev->dev, "Failed to allocate sk_buff in popen()\n");
14 header = (void *)skb_put(skb, sizeof(*header));