aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ackvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ackvec.c')
-rw-r--r--net/dccp/ackvec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/dccp/ackvec.c b/net/dccp/ackvec.c
index d34badcd012e..1b4b60d8bdec 100644
--- a/net/dccp/ackvec.c
+++ b/net/dccp/ackvec.c
@@ -461,9 +461,6 @@ int dccp_ackvec_parse(struct sock *sk, const struct sk_buff *skb,
461 return 0; 461 return 0;
462} 462}
463 463
464static char dccp_ackvec_slab_msg[] __initdata =
465 KERN_CRIT "DCCP: Unable to create ack vectors slab caches\n";
466
467int __init dccp_ackvec_init(void) 464int __init dccp_ackvec_init(void)
468{ 465{
469 dccp_ackvec_slab = kmem_cache_create("dccp_ackvec", 466 dccp_ackvec_slab = kmem_cache_create("dccp_ackvec",
@@ -485,7 +482,7 @@ out_destroy_slab:
485 kmem_cache_destroy(dccp_ackvec_slab); 482 kmem_cache_destroy(dccp_ackvec_slab);
486 dccp_ackvec_slab = NULL; 483 dccp_ackvec_slab = NULL;
487out_err: 484out_err:
488 printk(dccp_ackvec_slab_msg); 485 DCCP_CRIT("Unable to create Ack Vector slab cache");
489 return -ENOBUFS; 486 return -ENOBUFS;
490} 487}
491 488