From: Len Brown Date: Tue, 29 Apr 2008 16:24:24 +0000 (-0400) Subject: intel_menlo: fix build warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7aa0f1a8b1f7072990c9dc37f238c96dc6d78911;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git intel_menlo: fix build warning drivers/misc/intel_menlow.c:191: warning: label ‘unregister’ defined but not used Signed-off-by: Len Brown --- 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) end: return result; - - unregister: - thermal_cooling_device_unregister(cdev); - return result; - } static int intel_menlow_memory_remove(struct acpi_device *device, int type)