Skip to contentSkip to conversation

common: remove unused prototypes

PATCH In review Patrick Delaunay 2 participants 2 messages Mar 12, 2018 – Mar 18, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common: remove unused prototypes

Remove the prototypes for 4 functions no more existing in U-Boot code (checked by grep):
- checkflash
- checkdram
- mdm_init
- setup_board_extra

---

 include/common.h | 10 ----------
 1 file changed, 10 deletions(-)
include/common.h +0 -10
index 0fe9439..0728aa6 100644
@@ -151,26 +151,16 @@ void arch_setup_gd(gd_t *gd_ptr);
 
 int checkboard(void);
 int show_board_info(void);
-int checkflash(void);
-int checkdram(void);
 int last_stage_init(void);
 extern ulong monitor_flash_len;
 int mac_read_from_eeprom(void);
 extern u8 __dtb_dt_begin[];	/* embedded device tree blob */
 extern u8 __dtb_dt_spl_begin[];	/* embedded device tree blob for SPL/TPL */
 int set_cpu_clk_info(void);
-int mdm_init(void);
 int print_cpuinfo(void);
 int update_flash_size(int flash_size);
 int arch_early_init_r(void);
 
-/*
- * setup_board_extra() - Fill in extra details in the bd_t structure
- *
- * @return 0 if OK, -ve on error
- */
-int setup_board_extra(void);
-
 /**
  * arch_fsp_init() - perform firmware support package init
  *
Signature · 1 line
2.7.4
#1 lore raw
Quoted 8 lines · Patrick Delaunay

Remove the prototypes for 4 functions no more existing in U-Boot code (checked by grep):
- checkflash
- checkdram
- mdm_init
- setup_board_extra

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180318/dc4f14f8/attachment.sig>