From d81c0007fc78558753de07c6ebc5fd6f90258359 Mon Sep 17 00:00:00 2001 From: "jy910.yun" Date: Fri, 10 May 2013 17:13:42 +0900 Subject: [PATCH] rearrange wrong error log and delete redundant log regarding led Change-Id: I9e958db9b72fc5ff2331efc1dfa4bb6925a7b427 Signed-off-by: jy910.yun --- src/led/led.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/led/led.c b/src/led/led.c index 786fee9..4b23780 100644 --- a/src/led/led.c +++ b/src/led/led.c @@ -45,24 +45,15 @@ static int set_brightness(int val) static int predefine_action(int argc, char **argv) { - int i; - int pid; int prop; - _D("argc : %d", argc); - for (i = 0; i < argc; ++i) - _D("[%2d] %s", i, argv[i]); - if (argc > 4) { _E("Invalid argument"); errno = EINVAL; return -1; } - pid = atoi(argv[0]); prop = atoi(argv[1]); - _D("pid : %d, prop : %d", pid, prop); - switch(prop) { case SET_BRT: return set_brightness(atoi(argv[2])); -- 2.7.4