aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/intel_menlow.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/misc/intel_menlow.c b/drivers/misc/intel_menlow.c
index 3db83a2dc3a1..5bb8816c9126 100644
--- a/drivers/misc/intel_menlow.c
+++ b/drivers/misc/intel_menlow.c
@@ -187,11 +187,6 @@ static int intel_menlow_memory_add(struct acpi_device *device)
187 187
188 end: 188 end:
189 return result; 189 return result;
190
191 unregister:
192 thermal_cooling_device_unregister(cdev);
193 return result;
194
195} 190}
196 191
197static int intel_menlow_memory_remove(struct acpi_device *device, int type) 192static int intel_menlow_memory_remove(struct acpi_device *device, int type)