From: Chanhee Date: Fri, 19 May 2017 07:20:08 +0000 (+0900) Subject: fix violations of coding style in wdog X-Git-Tag: 1.1_Public_Release~568^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e5a7bf170ee4a38786bef70c897141f705c8888;p=rtos%2Ftinyara.git fix violations of coding style in wdog Positions of 'else' and parentheses near the else are fixed following coding rules. --- diff --git a/os/kernel/wdog/wd_delete.c b/os/kernel/wdog/wd_delete.c index 2b21230..c31d94c 100644 --- a/os/kernel/wdog/wd_delete.c +++ b/os/kernel/wdog/wd_delete.c @@ -160,15 +160,12 @@ int wd_delete(WDOG_ID wdog) g_wdnfree++; DEBUGASSERT(g_wdnfree <= CONFIG_PREALLOC_WDOGS); irqrestore(state); - } - else - { + } else { /* There is no guarantee that, this API is not called for statically * allocated timers as wd_delete is a global function. So restore the * irq properly so that it does not break the system */ irqrestore(state); - } /* Return success */