aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 6bee6af8d8e1..0d3c29d72215 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -987,6 +987,8 @@ done:
987 device_remove_class_symlinks(dev); 987 device_remove_class_symlinks(dev);
988 SymlinkError: 988 SymlinkError:
989 if (MAJOR(dev->devt)) 989 if (MAJOR(dev->devt))
990 devtmpfs_delete_node(dev);
991 if (MAJOR(dev->devt))
990 device_remove_sys_dev_entry(dev); 992 device_remove_sys_dev_entry(dev);
991 devtattrError: 993 devtattrError:
992 if (MAJOR(dev->devt)) 994 if (MAJOR(dev->devt))