Skip to content

Commit 296d368

Browse files
henrikbrixandersennashif
authored andcommitted
drivers: can: mcan: remove unused NUM_TX_EVENT_FIFO_ELEMENTS macro
Remove the unused NUM_TX_EVENT_FIFO_ELEMENTS helper macro. There is no dts property for setting the TX event FIFO size. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent ab64a67 commit 296d368

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/can/can_mcan.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,8 @@
2626
#define NUM_RX_FIFO0_ELEMENTS DT_PROP(MCAN_DT_PATH, rx_fifo0_elements)
2727
#define NUM_RX_FIFO1_ELEMENTS DT_PROP(MCAN_DT_PATH, rx_fifo0_elements)
2828
#define NUM_RX_BUF_ELEMENTS DT_PROP(MCAN_DT_PATH, rx_buffer_elements)
29-
#define NUM_TX_EVENT_FIFO_ELEMENTS \
30-
DT_PROP(MCAN_DT_PATH, tx_event_fifo_elements)
3129
#define NUM_TX_BUF_ELEMENTS DT_PROP(MCAN_DT_PATH, tx_buffer_elements)
3230

33-
3431
#ifdef CONFIG_CAN_STM32FD
3532
#define NUM_STD_FILTER_DATA CONFIG_CAN_MAX_STD_ID_FILTER
3633
#define NUM_EXT_FILTER_DATA CONFIG_CAN_MAX_EXT_ID_FILTER

0 commit comments

Comments
 (0)