Skip to content
Commit cc732197 authored by Tom Hughes's avatar Tom Hughes Committed by Benjamin Cabé
Browse files

drivers: flash: spi_nor: Fix unused function warning



Building with clang warns:

drivers/flash/spi_nor.c:306:20: error: unused function
'delay_until_exit_dpd_ok' [-Werror,-Wunused-function]
static inline void delay_until_exit_dpd_ok(const struct device *const dev)
                   ^

delay_until_exit_dpd_ok is only used when ANY_INST_HAS_DPD is defined.

Signed-off-by: default avatarTom Hughes <tomhughes@chromium.org>
parent 2a1cef86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment