summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.c
diff options
context:
space:
mode:
authorJoe Perches2011-08-29 23:17:24 +0200
committerMarek Lindner2011-09-08 17:52:30 +0200
commit320f422f629c7ed5d07b4186aa491d1e11d18a4c (patch)
tree8d32d97b2143abbab7bbbb19e8ef9b6e9235c2c4 /net/batman-adv/main.c
parentbatman-adv: update internal version number (diff)
downloadkernel-qcow2-linux-320f422f629c7ed5d07b4186aa491d1e11d18a4c.tar.gz
kernel-qcow2-linux-320f422f629c7ed5d07b4186aa491d1e11d18a4c.tar.xz
kernel-qcow2-linux-320f422f629c7ed5d07b4186aa491d1e11d18a4c.zip
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>
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r--net/batman-adv/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c
index 79b9ae522ce9..fb87bdc2ce9b 100644
--- a/net/batman-adv/main.c
+++ b/net/batman-adv/main.c
@@ -117,8 +117,6 @@ int mesh_init(struct net_device *soft_iface)
goto end;
err:
- pr_err("Unable to allocate memory for mesh information structures: "
- "out of mem ?\n");
mesh_free(soft_iface);
return -1;