drivers: sensor: lsm6dsl: Remove unused variable and label
Remove variable and label that are not used to remove compiler warnings. Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
This commit is contained in:
parent
20b1fdb39c
commit
bae6af4acc
1 changed files with 0 additions and 2 deletions
|
@ -86,7 +86,6 @@ static void lsm6dsl_gpio_callback(const struct device *dev,
|
|||
|
||||
static void lsm6dsl_thread_cb(const struct device *dev)
|
||||
{
|
||||
const struct lsm6dsl_config *config = dev->config;
|
||||
struct lsm6dsl_data *drv_data = dev->data;
|
||||
|
||||
if (drv_data->data_ready_handler != NULL) {
|
||||
|
@ -167,6 +166,5 @@ int lsm6dsl_init_interrupt(const struct device *dev)
|
|||
|
||||
setup_irq(drv_data, config->irq_pin, true);
|
||||
|
||||
end:
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue