summaryrefslogtreecommitdiffhomepage
path: root/src/arm64/arm64-uart.c
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-06-06 06:03:27 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-06-06 06:03:27 +0200
commitd48a66377317771bb22c7b5e97661a91535be97f (patch)
tree6a60ebf914ff78b2531256bde7a12a01214f389c /src/arm64/arm64-uart.c
parentcada70508de1c6f614067825683338fcde56caaf (diff)
fix: Fix unused variable `cb_locked_put_char` on ARM64's UART.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/arm64/arm64-uart.c')
-rw-r--r--src/arm64/arm64-uart.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/arm64/arm64-uart.c b/src/arm64/arm64-uart.c
index d587346..5a7f21d 100644
--- a/src/arm64/arm64-uart.c
+++ b/src/arm64/arm64-uart.c
@@ -15,9 +15,6 @@
static uint32_t* cb_uart_ptr = (uint32_t*) CB_UART_BASE;
-// we need that one, to avoid sending mutliple chars to UART.
-static boolean cb_locked_put_char = no;
-
/// @brief Retrieve character from cb_uart_ptr
utf_char_t cb_get_char(void) {
while ((ARM64_MMIO_REG(0x018) & (1 << 4))) {