From: Thomas Ingleby Date: Fri, 20 Jun 2014 15:19:59 +0000 (+0100) Subject: gpio: no printing to stderr on direction change. X-Git-Tag: v0.3.1~2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11486368b140bd9f02f022cbb005342afab05379;p=contrib%2Fmraa.git gpio: no printing to stderr on direction change. Signed-off-by: Thomas Ingleby --- diff --git a/src/gpio/gpio.c b/src/gpio/gpio.c index 0b12d8c..d38753c 100644 --- a/src/gpio/gpio.c +++ b/src/gpio/gpio.c @@ -389,7 +389,6 @@ maa_gpio_dir(maa_gpio_context dev, gpio_dir_t dir) } if (write(direction, bu, length*sizeof(char)) == -1) { - fprintf(stderr, "Failed to write to direction\n"); close(direction); return MAA_ERROR_INVALID_RESOURCE; }