From 93fffd51bbf1b09b899cf3db66a04b105f16e2b5 Mon Sep 17 00:00:00 2001 From: jiangguangming Date: Mon, 28 Nov 2022 11:15:32 +0800 Subject: [PATCH] esp_rom: remove lldesc_xxx definitions since no actual function bodies --- components/esp_rom/include/esp32c2/rom/lldesc.h | 11 ----------- components/esp_rom/include/esp32c3/rom/lldesc.h | 11 ----------- components/esp_rom/include/esp32h2/rom/lldesc.h | 11 ----------- components/esp_rom/include/esp32s3/rom/lldesc.h | 11 ----------- 4 files changed, 44 deletions(-) diff --git a/components/esp_rom/include/esp32c2/rom/lldesc.h b/components/esp_rom/include/esp32c2/rom/lldesc.h index 721e536acf..f2db37edfd 100644 --- a/components/esp_rom/include/esp32c2/rom/lldesc.h +++ b/components/esp_rom/include/esp32c2/rom/lldesc.h @@ -91,17 +91,6 @@ enum sbuf_mask_s { #define LLDESC_ADDR_MASK 0x000fffff -void lldesc_build_chain(uint8_t *descptr, uint32_t desclen, uint8_t *mblkptr, uint32_t buflen, uint32_t blksz, uint8_t owner, - lldesc_t **head, -#ifdef TO_HOST_RESTART - lldesc_t **one_before_tail, -#endif - lldesc_t **tail); - -lldesc_t *lldesc_num2link(lldesc_t *head, uint16_t nblks); - -lldesc_t *lldesc_set_owner(lldesc_t *head, uint16_t nblks, uint8_t owner); - static inline uint32_t lldesc_get_chain_length(lldesc_t *head) { lldesc_t *ds = head; diff --git a/components/esp_rom/include/esp32c3/rom/lldesc.h b/components/esp_rom/include/esp32c3/rom/lldesc.h index 721e536acf..f2db37edfd 100644 --- a/components/esp_rom/include/esp32c3/rom/lldesc.h +++ b/components/esp_rom/include/esp32c3/rom/lldesc.h @@ -91,17 +91,6 @@ enum sbuf_mask_s { #define LLDESC_ADDR_MASK 0x000fffff -void lldesc_build_chain(uint8_t *descptr, uint32_t desclen, uint8_t *mblkptr, uint32_t buflen, uint32_t blksz, uint8_t owner, - lldesc_t **head, -#ifdef TO_HOST_RESTART - lldesc_t **one_before_tail, -#endif - lldesc_t **tail); - -lldesc_t *lldesc_num2link(lldesc_t *head, uint16_t nblks); - -lldesc_t *lldesc_set_owner(lldesc_t *head, uint16_t nblks, uint8_t owner); - static inline uint32_t lldesc_get_chain_length(lldesc_t *head) { lldesc_t *ds = head; diff --git a/components/esp_rom/include/esp32h2/rom/lldesc.h b/components/esp_rom/include/esp32h2/rom/lldesc.h index 721e536acf..f2db37edfd 100644 --- a/components/esp_rom/include/esp32h2/rom/lldesc.h +++ b/components/esp_rom/include/esp32h2/rom/lldesc.h @@ -91,17 +91,6 @@ enum sbuf_mask_s { #define LLDESC_ADDR_MASK 0x000fffff -void lldesc_build_chain(uint8_t *descptr, uint32_t desclen, uint8_t *mblkptr, uint32_t buflen, uint32_t blksz, uint8_t owner, - lldesc_t **head, -#ifdef TO_HOST_RESTART - lldesc_t **one_before_tail, -#endif - lldesc_t **tail); - -lldesc_t *lldesc_num2link(lldesc_t *head, uint16_t nblks); - -lldesc_t *lldesc_set_owner(lldesc_t *head, uint16_t nblks, uint8_t owner); - static inline uint32_t lldesc_get_chain_length(lldesc_t *head) { lldesc_t *ds = head; diff --git a/components/esp_rom/include/esp32s3/rom/lldesc.h b/components/esp_rom/include/esp32s3/rom/lldesc.h index edc3780e04..7c787b4044 100644 --- a/components/esp_rom/include/esp32s3/rom/lldesc.h +++ b/components/esp_rom/include/esp32s3/rom/lldesc.h @@ -88,17 +88,6 @@ enum sbuf_mask_s { #define LLDESC_ADDR_MASK 0x000fffff -void lldesc_build_chain(uint8_t *descptr, uint32_t desclen, uint8_t *mblkptr, uint32_t buflen, uint32_t blksz, uint8_t owner, - lldesc_t **head, -#ifdef TO_HOST_RESTART - lldesc_t **one_before_tail, -#endif - lldesc_t **tail); - -lldesc_t *lldesc_num2link(lldesc_t *head, uint16_t nblks); - -lldesc_t *lldesc_set_owner(lldesc_t *head, uint16_t nblks, uint8_t owner); - static inline uint32_t lldesc_get_chain_length(lldesc_t *head) { lldesc_t *ds = head;