diff --git a/drivers/can/can_stm32.c b/drivers/can/can_stm32.c index 724c9aede2b..dd628d7d01f 100644 --- a/drivers/can/can_stm32.c +++ b/drivers/can/can_stm32.c @@ -460,13 +460,6 @@ static int can_stm32_get_core_clock(const struct device *dev, uint32_t *rate) return 0; } -static int can_stm32_get_max_filters(const struct device *dev, enum can_ide id_type) -{ - ARG_UNUSED(id_type); - - return CONFIG_CAN_MAX_FILTER; -} - static int can_stm32_get_max_bitrate(const struct device *dev, uint32_t *max_bitrate) { const struct can_stm32_config *config = dev->config; @@ -1156,7 +1149,6 @@ static const struct can_driver_api can_api_funcs = { #endif .set_state_change_callback = can_stm32_set_state_change_callback, .get_core_clock = can_stm32_get_core_clock, - .get_max_filters = can_stm32_get_max_filters, .get_max_bitrate = can_stm32_get_max_bitrate, .timing_min = { .sjw = 0x1,