Skip to content

Commit dae2f33

Browse files
teburdcarlescufi
authored andcommitted
rtio: Remove references to simple executor
The simple executor was removed with the usage of the spsc queue but some stray references remained. Remove those. Signed-off-by: Tom Burdick <[email protected]>
1 parent 0d49bb3 commit dae2f33

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

doc/services/rtio/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ is 4 byte aligned.
155155
#define MEM_BLK_SIZE 16
156156
#define MEM_BLK_ALIGN 4
157157
158-
RTIO_EXECUTOR_SIMPLE_DEFINE(simple_exec);
159-
RTIO_DEFINE_WITH_MEMPOOL(rtio_context, (struct rtio_executor *)&simple_exec,
158+
RTIO_DEFINE_WITH_MEMPOOL(rtio_context,
160159
SQ_SIZE, CQ_SIZE, MEM_BLK_COUNT, MEM_BLK_SIZE, MEM_BLK_ALIGN);
161160
162161
When a read is needed, the caller simply needs to replace the call

drivers/i2c/i2c_sam_twihs_rtio.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include <zephyr/drivers/pinctrl.h>
2727
#include <zephyr/drivers/clock_control/atmel_sam_pmc.h>
2828
#include <zephyr/rtio/rtio.h>
29-
#include <zephyr/rtio/rtio_executor_simple.h>
3029

3130
#define LOG_LEVEL CONFIG_I2C_LOG_LEVEL
3231
#include <zephyr/logging/log.h>
@@ -422,9 +421,7 @@ static const struct i2c_driver_api i2c_sam_twihs_driver_api = {
422421
DEVICE_DT_INST_GET(n), 0); \
423422
} \
424423
\
425-
RTIO_EXECUTOR_SIMPLE_DEFINE(_i2c##n##_sam_rtio_exec); \
426424
RTIO_DEFINE(_i2c##n##_sam_rtio, \
427-
(struct rtio_executor *)&_i2c##n##_sam_rtio_exec, \
428425
CONFIG_I2C_SAM_TWIHS_SQ_SIZE, \
429426
CONFIG_I2C_SAM_TWIHS_CQ_SIZE); \
430427
\

0 commit comments

Comments
 (0)