drivers: i2s: esp32: remove unused code
Removed unused code in I2S driver. Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
This commit is contained in:
parent
f6712c43d4
commit
de53fb471a
1 changed files with 0 additions and 2 deletions
|
|
@ -323,7 +323,6 @@ static void i2s_esp32_rx_callback(const struct device *dma_dev, void *arg, uint3
|
|||
int status)
|
||||
{
|
||||
const struct device *dev = (const struct device *)arg;
|
||||
const struct i2s_esp32_cfg *dev_cfg = dev->config;
|
||||
struct i2s_esp32_data *const dev_data = dev->data;
|
||||
struct i2s_esp32_stream *stream = &dev_data->rx;
|
||||
int err;
|
||||
|
|
@ -381,7 +380,6 @@ static void i2s_esp32_tx_callback(const struct device *dma_dev, void *arg, uint3
|
|||
int status)
|
||||
{
|
||||
const struct device *dev = (const struct device *)arg;
|
||||
const struct i2s_esp32_cfg *dev_cfg = dev->config;
|
||||
struct i2s_esp32_data *const dev_data = dev->data;
|
||||
struct i2s_esp32_stream *stream = &dev_data->tx;
|
||||
struct queue_item item;
|
||||
|
|
|
|||
Loading…
Reference in a new issue