batman-adv: Remove unnecessary OOM logging messages
Removing unnecessary messages saves code and text. Site specific OOM messages are duplications of a generic MM out of memory message and aren't really useful, so just delete them. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
This commit is contained in:

committed by
Marek Lindner

parent
45485ad7d2
commit
320f422f62
@@ -887,10 +887,8 @@ int vis_init(struct bat_priv *bat_priv)
|
||||
}
|
||||
|
||||
bat_priv->my_vis_info = kmalloc(MAX_VIS_PACKET_SIZE, GFP_ATOMIC);
|
||||
if (!bat_priv->my_vis_info) {
|
||||
pr_err("Can't initialize vis packet\n");
|
||||
if (!bat_priv->my_vis_info)
|
||||
goto err;
|
||||
}
|
||||
|
||||
bat_priv->my_vis_info->skb_packet = dev_alloc_skb(sizeof(*packet) +
|
||||
MAX_VIS_PACKET_SIZE +
|
||||
|
Reference in New Issue
Block a user