Skip to content

Commit d8acb7b

Browse files
committed
change(hal): remove modem_lpcon_ll_get_date
1 parent c7f114e commit d8acb7b

File tree

6 files changed

+4
-40
lines changed

6 files changed

+4
-40
lines changed

components/hal/esp32c5/include/hal/modem_lpcon_ll.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -269,12 +269,6 @@ static inline void modem_lpcon_ll_set_pwr_tick_target(modem_lpcon_dev_t *hw, uin
269269
hw->tick_conf.modem_pwr_tick_target = val;
270270
}
271271

272-
__attribute__((always_inline))
273-
static inline uint32_t modem_lpcon_ll_get_date(modem_lpcon_dev_t *hw)
274-
{
275-
return hw->date.val;
276-
}
277-
278272
__attribute__((always_inline))
279273
static inline void modem_lpcon_ll_enable_chan_freq_mem(modem_lpcon_dev_t *hw, bool en)
280274
{

components/hal/esp32c6/include/hal/modem_lpcon_ll.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -251,12 +251,6 @@ static inline void modem_lpcon_ll_reset_all(modem_lpcon_dev_t *hw)
251251
hw->rst_conf.val = 0;
252252
}
253253

254-
__attribute__((always_inline))
255-
static inline uint32_t modem_lpcon_ll_get_date(modem_lpcon_dev_t *hw)
256-
{
257-
return hw->date.val;
258-
}
259-
260254
#ifdef __cplusplus
261255
}
262256
#endif

components/hal/esp32c61/include/hal/modem_lpcon_ll.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -269,12 +269,6 @@ static inline void modem_lpcon_ll_set_pwr_tick_target(modem_lpcon_dev_t *hw, uin
269269
hw->tick_conf.modem_pwr_tick_target = val;
270270
}
271271

272-
__attribute__((always_inline))
273-
static inline uint32_t modem_lpcon_ll_get_date(modem_lpcon_dev_t *hw)
274-
{
275-
return hw->date.val;
276-
}
277-
278272
__attribute__((always_inline))
279273
static inline void modem_lpcon_ll_enable_chan_freq_mem(modem_lpcon_dev_t *hw, bool en)
280274
{

components/hal/esp32h2/include/hal/modem_lpcon_ll.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -99,12 +99,6 @@ static inline void modem_lpcon_ll_reset_all(modem_lpcon_dev_t *hw)
9999
hw->rst_conf.val = 0;
100100
}
101101

102-
__attribute__((always_inline))
103-
static inline uint32_t modem_lpcon_ll_get_date(modem_lpcon_dev_t *hw)
104-
{
105-
return hw->date.val;
106-
}
107-
108102
#ifdef __cplusplus
109103
}
110104
#endif

components/hal/esp32h21/include/hal/modem_lpcon_ll.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ static inline void modem_lpcon_ll_reset_all(modem_lpcon_dev_t *hw)
9999
hw->rst_conf.val = 0;
100100
}
101101

102-
__attribute__((always_inline))
103-
static inline uint32_t modem_lpcon_ll_get_date(modem_lpcon_dev_t *hw)
104-
{
105-
return hw->date.val;
106-
}
107-
108102
#ifdef __cplusplus
109103
}
110104
#endif

components/hal/esp32h4/include/hal/modem_lpcon_ll.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ static inline void modem_lpcon_ll_reset_all(modem_lpcon_dev_t *hw)
9292
hw->rst_conf.val = 0;
9393
}
9494

95-
__attribute__((always_inline))
96-
static inline uint32_t modem_lpcon_ll_get_date(modem_lpcon_dev_t *hw)
97-
{
98-
return hw->date.val;
99-
}
100-
10195
#ifdef __cplusplus
10296
}
10397
#endif

0 commit comments

Comments
 (0)