aboutsummaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/idr.c')
-rw-r--r--lib/idr.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/idr.c b/lib/idr.c
index cca4b9302a71..bfe4db4e165f 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -524,9 +524,7 @@ EXPORT_SYMBOL(idr_alloc_cyclic);
524 524
525static void idr_remove_warning(int id) 525static void idr_remove_warning(int id)
526{ 526{
527 printk(KERN_WARNING 527 WARN(1, "idr_remove called for id=%d which is not allocated.\n", id);
528 "idr_remove called for id=%d which is not allocated.\n", id);
529 dump_stack();
530} 528}
531 529
532static void sub_remove(struct idr *idp, int shift, int id) 530static void sub_remove(struct idr *idp, int shift, int id)
@@ -1064,8 +1062,7 @@ void ida_remove(struct ida *ida, int id)
1064 return; 1062 return;
1065 1063
1066 err: 1064 err:
1067 printk(KERN_WARNING 1065 WARN(1, "ida_remove called for id=%d which is not allocated.\n", id);
1068 "ida_remove called for id=%d which is not allocated.\n", id);
1069} 1066}
1070EXPORT_SYMBOL(ida_remove); 1067EXPORT_SYMBOL(ida_remove);
1071 1068