diff options
author | Joe Perches <joe@perches.com> | 2011-08-29 14:17:25 -0700 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-08-31 12:38:16 +0200 |
commit | c2db983e4c5d6854b813edcd07c20c540df15471 (patch) | |
tree | b27b288e99d34ee1c9c4b43925b293bbd21a5950 | |
parent | ed9c6570aa746bdfc4e006e3fdd25b69f04cd6a2 (diff) | |
download | ipset-c2db983e4c5d6854b813edcd07c20c540df15471.tar.gz |
netfilter: 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: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
-rw-r--r-- | kernel/net/netfilter/ipset/ip_set_core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/net/netfilter/ipset/ip_set_core.c b/kernel/net/netfilter/ipset/ip_set_core.c index c3eabfd..0d2859d 100644 --- a/kernel/net/netfilter/ipset/ip_set_core.c +++ b/kernel/net/netfilter/ipset/ip_set_core.c @@ -1722,10 +1722,8 @@ ip_set_init(void) ip_set_list = kzalloc(sizeof(struct ip_set *) * ip_set_max, GFP_KERNEL); - if (!ip_set_list) { - pr_err("ip_set: Unable to create ip_set_list\n"); + if (!ip_set_list) return -ENOMEM; - } ret = nfnetlink_subsys_register(&ip_set_netlink_subsys); if (ret != 0) { |