summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-04-29 16:24:24 (GMT)
committerLen Brown <len.brown@intel.com>2008-04-29 16:24:24 (GMT)
commit7aa0f1a8b1f7072990c9dc37f238c96dc6d78911 (patch)
treeb7160a759b5b471759ec56bfdd29811636e90187 /drivers/misc
parentff16cab69b6ed621686cf342306785175775152d (diff)
downloadlinux-fsl-qoriq-7aa0f1a8b1f7072990c9dc37f238c96dc6d78911.tar.xz
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>
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 3db83a2..5bb8816 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)