Commit c9ac30a5 authored by Ambroise Vincent's avatar Ambroise Vincent
Browse files

Console: Remove Arm console unregister on suspend



Change-Id: Ie649b3c367a93db057eeaee7e83fa3e43f8c2607
Signed-off-by: default avatarAmbroise Vincent <ambroise.vincent@arm.com>
parent 71892ca3
/* /*
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
...@@ -80,9 +80,7 @@ void arm_console_runtime_end(void) ...@@ -80,9 +80,7 @@ void arm_console_runtime_end(void)
{ {
(void)console_flush(); (void)console_flush();
#if MULTI_CONSOLE_API #if !MULTI_CONSOLE_API
(void)console_unregister(&arm_runtime_console.console);
#else
console_uninit(); console_uninit();
#endif /* MULTI_CONSOLE_API */ #endif /* !MULTI_CONSOLE_API */
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment