diff options
Diffstat (limited to 'drivers/char/raw.c')
-rw-r--r-- | drivers/char/raw.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/char/raw.c b/drivers/char/raw.c index 72c8ee4c0069..941a17ab2196 100644 --- a/drivers/char/raw.c +++ b/drivers/char/raw.c | |||
@@ -318,12 +318,6 @@ error: | |||
318 | 318 | ||
319 | static void __exit raw_exit(void) | 319 | static void __exit raw_exit(void) |
320 | { | 320 | { |
321 | int i; | ||
322 | |||
323 | for (i = 1; i < MAX_RAW_MINORS; i++) | ||
324 | devfs_remove("raw/raw%d", i); | ||
325 | devfs_remove("raw/rawctl"); | ||
326 | devfs_remove("raw"); | ||
327 | class_device_destroy(raw_class, MKDEV(RAW_MAJOR, 0)); | 321 | class_device_destroy(raw_class, MKDEV(RAW_MAJOR, 0)); |
328 | class_destroy(raw_class); | 322 | class_destroy(raw_class); |
329 | cdev_del(&raw_cdev); | 323 | cdev_del(&raw_cdev); |