[PATCH net-next] drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb

David Miller davem at davemloft.net
Sat Mar 9 16:11:42 EST 2013


From: Joe Perches <joe at perches.com>
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 at perches.com>

Applied.



More information about the linux-arm-kernel mailing list