From: Len Brown Date: Tue, 29 Apr 2008 16:24:24 +0000 (-0400) Subject: intel_menlo: fix build warning X-Git-Tag: v2.6.26-rc1~101^2~1^11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aa0f1a8b1f7072990c9dc37f238c96dc6d78911;p=linux-2.6 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 3db83a2dc3..5bb8816c91 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)