diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-08-20 05:52:15 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-08-20 05:52:15 -0400 |
| commit | 7393423dd9b5790a3115873be355e9fc862bce8f (patch) | |
| tree | fc83214602c8ce41dc06d5c8e21deada679521f7 /Documentation/DocBook/procfs_example.c | |
| parent | 8df9676d6402563da91427e8d9f2da8a4598aede (diff) | |
| parent | 1fca25427482387689fa27594c992a961d98768f (diff) | |
Merge branch 'linus' into x86/cleanups
Diffstat (limited to 'Documentation/DocBook/procfs_example.c')
| -rw-r--r-- | Documentation/DocBook/procfs_example.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/DocBook/procfs_example.c b/Documentation/DocBook/procfs_example.c index 7064084c1c5e..2f3de0fb8365 100644 --- a/Documentation/DocBook/procfs_example.c +++ b/Documentation/DocBook/procfs_example.c | |||
| @@ -189,8 +189,6 @@ static int __init init_procfs_example(void) | |||
| 189 | return 0; | 189 | return 0; |
| 190 | 190 | ||
| 191 | no_symlink: | 191 | no_symlink: |
| 192 | remove_proc_entry("tty", example_dir); | ||
| 193 | no_tty: | ||
| 194 | remove_proc_entry("bar", example_dir); | 192 | remove_proc_entry("bar", example_dir); |
| 195 | no_bar: | 193 | no_bar: |
| 196 | remove_proc_entry("foo", example_dir); | 194 | remove_proc_entry("foo", example_dir); |
| @@ -206,7 +204,6 @@ out: | |||
| 206 | static void __exit cleanup_procfs_example(void) | 204 | static void __exit cleanup_procfs_example(void) |
| 207 | { | 205 | { |
| 208 | remove_proc_entry("jiffies_too", example_dir); | 206 | remove_proc_entry("jiffies_too", example_dir); |
| 209 | remove_proc_entry("tty", example_dir); | ||
| 210 | remove_proc_entry("bar", example_dir); | 207 | remove_proc_entry("bar", example_dir); |
| 211 | remove_proc_entry("foo", example_dir); | 208 | remove_proc_entry("foo", example_dir); |
| 212 | remove_proc_entry("jiffies", example_dir); | 209 | remove_proc_entry("jiffies", example_dir); |
| @@ -222,3 +219,4 @@ module_exit(cleanup_procfs_example); | |||
| 222 | 219 | ||
| 223 | MODULE_AUTHOR("Erik Mouw"); | 220 | MODULE_AUTHOR("Erik Mouw"); |
| 224 | MODULE_DESCRIPTION("procfs examples"); | 221 | MODULE_DESCRIPTION("procfs examples"); |
| 222 | MODULE_LICENSE("GPL"); | ||
