intel_menlo: fix build warning
authorLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 16:24:24 +0000 (12:24 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 16:24:24 +0000 (12:24 -0400)
drivers/misc/intel_menlow.c:191: warning: label â€˜unregister’ defined but not used

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/intel_menlow.c

index 3db83a2dc3a1fc76f72bd87b26c77cb2493a0cdb..5bb8816c912688a0ffe85d3aa86b6aca80f4120c 100644 (file)
@@ -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)