Skip to content

Commit

Permalink
intel_menlo: fix build warning
Browse files Browse the repository at this point in the history
drivers/misc/intel_menlow.c:191: warning: label ‘unregister’ defined but not used

Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Len Brown committed Apr 29, 2008
1 parent ff16cab commit 7aa0f1a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/misc/intel_menlow.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7aa0f1a

Please sign in to comment.