Re: [PATCH net-next] drivers:net: Remove unnecessary OOM messagesafter netdev_alloc_skb

From: David Miller
Date: Sat Mar 09 2013 - 16:11:42 EST


From: Joe Perches <joe@xxxxxxxxxxx>
Date: Fri, 8 Mar 2013 17:03:25 -0800

> Emitting netdev_alloc_skb and netdev_alloc_skb_ip_align OOM
> messages is unnecessary as there is already a dump_stack
> after allocation failures.
>
> Other trivial changes around these removals:
>
> Convert a few comparisons of pointer to 0 to !pointer.
> Change flow to remove unnecessary label.
> Remove now unused variable.
> Hoist assignment from if.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/