iioc.: remove call to stat before mkdir as superflous
authorBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 21 Dec 2015 15:16:08 +0000 (15:16 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 21 Dec 2015 15:16:10 +0000 (15:16 +0000)
commit725ce5e9469328df2ff4b70cd6534fcd71e7ba9f
tree56eeb2a79ad201384eabe82734ce26d6e5b8ccc5
parentfd531abd3d247aa88a5eb9d327a4c2cd14976e98
iioc.: remove call to stat before mkdir as superflous

This is especailly true since we don't care about the outcome, or do we? We
probably should check errno for EEXIST and offer an error if the error is
something else

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/iio/iio.c