]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/proc/inode.c
[IPV4]: Move trie_local and trie_main into the proc iterator.
[linux-2.6-omap-h63xx.git] / fs / proc / inode.c
index abe6a3f04368490aa9776dbb919cd1cc5c0dd075..1a551d92e1d8304b604946d5c16da8175fabe102 100644 (file)
@@ -43,13 +43,8 @@ void de_put(struct proc_dir_entry *de)
                        return;
                }
 
-               if (atomic_dec_and_test(&de->count)) {
-                       if (de->deleted) {
-                               printk("de_put: deferred delete of %s\n",
-                                       de->name);
-                               free_proc_entry(de);
-                       }
-               }               
+               if (atomic_dec_and_test(&de->count))
+                       free_proc_entry(de);
                unlock_kernel();
        }
 }