interface: do not check if fd is negative 74/160274/1
authorSegwon <segwon.han@samsung.com>
Wed, 15 Nov 2017 07:40:18 +0000 (16:40 +0900)
committerSegwon <segwon.han@samsung.com>
Wed, 15 Nov 2017 07:40:18 +0000 (16:40 +0900)
commitd934f33cca753b515853713c844369ca5e8e6e22
treece895be8757d6022cabcd827974c95ddad6536a7
parent2db5b00566952b5d6fe2cfa42ef386248d5327ff
interface: do not check if fd is negative

 - it is checked by the caller.
 - the check is meaningless even if handle is not opened.

Change-Id: Id22083b04f4e95a0788a32f1cbc2929c08dd8c31
Signed-off-by: Segwon <segwon.han@samsung.com>
src/interface/peripheral_interface_i2c.c
src/interface/peripheral_interface_spi.c
src/interface/peripheral_interface_uart.c