diff options
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 2cc4dda46279..2cdbc247d0ac 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -4936,7 +4936,8 @@ static void __exit cciss_cleanup(void) | |||
4936 | } | 4936 | } |
4937 | } | 4937 | } |
4938 | kthread_stop(cciss_scan_thread); | 4938 | kthread_stop(cciss_scan_thread); |
4939 | remove_proc_entry("driver/cciss", NULL); | 4939 | if (proc_cciss) |
4940 | remove_proc_entry("driver/cciss", NULL); | ||
4940 | bus_unregister(&cciss_bus_type); | 4941 | bus_unregister(&cciss_bus_type); |
4941 | } | 4942 | } |
4942 | 4943 | ||