diff options
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_sysfs.c')
| -rw-r--r-- | drivers/pci/hotplug/cpqphp_sysfs.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/cpqphp_sysfs.c b/drivers/pci/hotplug/cpqphp_sysfs.c index 4a392c44e3d3..d81648f71425 100644 --- a/drivers/pci/hotplug/cpqphp_sysfs.c +++ b/drivers/pci/hotplug/cpqphp_sysfs.c @@ -216,8 +216,7 @@ void cpqhp_create_debugfs_files(struct controller *ctrl)  void cpqhp_remove_debugfs_files(struct controller *ctrl)  { -	if (ctrl->dentry) -		debugfs_remove(ctrl->dentry); +	debugfs_remove(ctrl->dentry);  	ctrl->dentry = NULL;  }  |