summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorHideaki Yoshifuji <yoshfuji@linux-ipv6.org>2005-03-16 18:31:09 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2005-03-16 18:31:09 -0800
commite2b2c65a060f72bbcd7e4a942734369c20c937aa (patch)
tree5002da118970face4c4fb0415d2655768768eb12 /include/net
parente7159ebba919be21ef2153642c5f3179334475a1 (diff)
[NET]: Save space for sk_alloc_slab() failure message.
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sock.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 812592fb9b48..fb789af4ab08 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -561,11 +561,6 @@ struct proto {
extern int sk_alloc_slab(struct proto *prot, char *name);
extern void sk_free_slab(struct proto *prot);
-static inline void sk_alloc_slab_error(struct proto *proto)
-{
- printk(KERN_CRIT "%s: Can't create sock SLAB cache!\n", proto->name);
-}
-
static __inline__ void sk_set_owner(struct sock *sk, struct module *owner)
{
/*