Merge tag 'mmc-updates-for-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / net / core / netprio_cgroup.c
index 5e67defe2cb0ef672f7b579d442e34df1f51976b..0777d0aa18c3814a42a338a25d3508d9654c5797 100644 (file)
@@ -69,10 +69,8 @@ static int extend_netdev_table(struct net_device *dev, u32 target_idx)
 
        /* allocate & copy */
        new = kzalloc(new_sz, GFP_KERNEL);
-       if (!new) {
-               pr_warn("Unable to alloc new priomap!\n");
+       if (!new)
                return -ENOMEM;
-       }
 
        if (old)
                memcpy(new->priomap, old->priomap,