From e956f7dc8369b3d1928a1274ca6866b42116cc1f Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 20 Mar 2022 12:51:10 +0000 Subject: firmware: minor screendump related cleanups - Remove unused redefinitions of screen_dump() from bootloaders - Use empty do-while when screendump is compiled out Change-Id: I3ccdb0390ddaa28d8f561ff744d0db6aaef17f5d --- bootloader/iaudio_coldfire.c | 6 ------ bootloader/iriver_h1x0.c | 4 ---- bootloader/iriver_h300.c | 4 ---- bootloader/mpio_hd200_hd300.c | 6 ------ 4 files changed, 20 deletions(-) (limited to 'bootloader') diff --git a/bootloader/iaudio_coldfire.c b/bootloader/iaudio_coldfire.c index c79ab4b0c5..d9e659847a 100644 --- a/bootloader/iaudio_coldfire.c +++ b/bootloader/iaudio_coldfire.c @@ -212,9 +212,3 @@ void main(void) start_firmware(); } - -/* These functions are present in the firmware library, but we reimplement - them here because the originals do a lot more than we want */ -void screen_dump(void) -{ -} diff --git a/bootloader/iriver_h1x0.c b/bootloader/iriver_h1x0.c index 7efaaa3308..6c509a9922 100644 --- a/bootloader/iriver_h1x0.c +++ b/bootloader/iriver_h1x0.c @@ -588,10 +588,6 @@ void main(void) /* These functions are present in the firmware library, but we reimplement them here because the originals do a lot more than we want */ -void screen_dump(void) -{ -} - int usb_screen(void) { return 0; diff --git a/bootloader/iriver_h300.c b/bootloader/iriver_h300.c index 3a254f4487..655abfa505 100644 --- a/bootloader/iriver_h300.c +++ b/bootloader/iriver_h300.c @@ -648,10 +648,6 @@ void main(void) /* These functions are present in the firmware library, but we reimplement them here because the originals do a lot more than we want */ -void screen_dump(void) -{ -} - int usb_screen(void) { return 0; diff --git a/bootloader/mpio_hd200_hd300.c b/bootloader/mpio_hd200_hd300.c index 6538c06a31..7067a9d790 100644 --- a/bootloader/mpio_hd200_hd300.c +++ b/bootloader/mpio_hd200_hd300.c @@ -539,9 +539,3 @@ void main(void) } } - -/* These functions are present in the firmware library, but we reimplement - them here because the originals do a lot more than we want */ -void screen_dump(void) -{ -} -- cgit v1.2.3