From 34368013c1e409948fc35698985042e114a0be95 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 29 Sep 2026 10:16:26 -0400 Subject: [PATCH] h1x0/h3x0: Get rid of redundant cut-down bidi_l2v() function The one in the main bidi.c is already cut-down for bootloader builds Change-Id: I4465419393b0eda91fb69bd4c3353f7c31e1e98d --- bootloader/iriver_h1x0.c | 14 -------------- bootloader/iriver_h300.c | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/bootloader/iriver_h1x0.c b/bootloader/iriver_h1x0.c index 380d0e91bd..8ac0ab4d06 100644 --- a/bootloader/iriver_h1x0.c +++ b/bootloader/iriver_h1x0.c @@ -599,17 +599,3 @@ int usb_screen(void) { return 0; } - -ucschar_t *bidi_l2v(const unsigned char *str, int orientation) -{ - static ucschar_t utf_buf[SCROLL_LINE_SIZE]; - ucschar_t *target; - (void)orientation; - - target = utf_buf; - - while (*str) - str = utf8decode(str, target++); - *target = 0; - return utf_buf; -} diff --git a/bootloader/iriver_h300.c b/bootloader/iriver_h300.c index 8fb273edb2..5780802ab8 100644 --- a/bootloader/iriver_h300.c +++ b/bootloader/iriver_h300.c @@ -668,17 +668,3 @@ int usb_screen(void) { return 0; } - -ucschar_t *bidi_l2v(const unsigned char *str, int orientation) -{ - static ucschar_t utf_buf[SCROLL_LINE_SIZE]; - ucschar_t *target; - (void)orientation; - - target = utf_buf; - - while (*str) - str = utf8decode(str, target++); - *target = 0; - return utf_buf; -}