aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorWen Congyang <[email protected]>2012-11-16 02:08:16 +0100
committerRafael J. Wysocki <[email protected]>2012-11-16 02:08:16 +0100
commite0b7b24dd9559fcda0f8bfd6acbcad81682c4fdd (patch)
treec65d30553948fbd64cda945b1a8eaf4a45dd064c /net/lapb/lapb_timer.c
parent386e52b95550db87c93455e3c0efe3cc4543f036 (diff)
ACPI / memhotplug: free memory device if acpi_memory_enable_device() failed
If acpi_memory_enable_device() fails, acpi_memory_enable_device() will return a non-zero value, which means we fail to bind the memory device to this driver. So we should free memory device before acpi_memory_device_add() returns. Signed-off-by: Wen Congyang <[email protected]> Reviewed-by: Yasuaki Ishimatsu <[email protected]> Acked-by: David Rientjes <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions