Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7aa0f1a8 authored by Len Brown's avatar Len Brown
Browse files

intel_menlo: fix build warning



drivers/misc/intel_menlow.c:191: warning: label ‘unregister’ defined but not used

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent ff16cab6
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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)