Skip to content
Commit 22bbdc2f authored by Sergio Rodriguez's avatar Sergio Rodriguez Committed by Anas Nashif
Browse files

soc: stm32f1: gpio: Fix unnecessary else statement



The bitfield determining the I/O direction already defines the pin
as either input or output, cannot be none or both at the same time

This issue was reported by Coverity

Coverity-CID: 151970

Change-Id: I18d5387139d6834004ba3269c5b54176bdc97ea7
Signed-off-by: default avatarSergio Rodriguez <sergio.sf.rodriguez@intel.com>
parent 3b626c5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment