intel_menlo: fix build warning
drivers/misc/intel_menlow.c:191: warning: label ‘unregister’ defined but not used Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
ff16cab69b
commit
7aa0f1a8b1
1 changed files with 0 additions and 5 deletions
|
@ -187,11 +187,6 @@ static int intel_menlow_memory_add(struct acpi_device *device)
|
||||||
|
|
||||||
end:
|
end:
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
unregister:
|
|
||||||
thermal_cooling_device_unregister(cdev);
|
|
||||||
return result;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int intel_menlow_memory_remove(struct acpi_device *device, int type)
|
static int intel_menlow_memory_remove(struct acpi_device *device, int type)
|
||||||
|
|
Loading…
Add table
Reference in a new issue