Skip to content
Commit 394ff7a2 authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

tests: drivers: gpio_basic_api: silence Coverity warning



The tests normally verify that pin configuration succeeded by checking
the return value.  That's not necessary on the cleanup path, so
expressly ignore the result.

Also lift the common code to before the exit branching.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent fae5d966
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment