Browse Source

change all double-empty-lines to single-empty-lines

Gabriel Wang 3 years ago
parent
commit
6bb9e546de
4 changed files with 0 additions and 6 deletions
  1. 0 1
      src/ipc.c
  2. 0 2
      src/kservice.c
  3. 0 2
      src/object.c
  4. 0 1
      src/scheduler.c

+ 0 - 1
src/ipc.c

@@ -45,7 +45,6 @@
 #include <rtthread.h>
 #include <rthw.h>
 
-
 #ifndef __on_rt_object_trytake_hook
     #define __on_rt_object_trytake_hook(parent)     __ON_HOOK_ARGS(rt_object_trytake_hook, (parent))
 #endif

+ 0 - 2
src/kservice.c

@@ -1742,12 +1742,10 @@ int __rt_ffs(int value)
 #endif /* RT_USING_TINY_FFS */
 #endif /* RT_USING_CPU_FFS */
 
-
 #ifndef __on_rt_assert_hook
     #define __on_rt_assert_hook(ex, func, line)         __ON_HOOK_ARGS(rt_assert_hook, (ex, func, line))
 #endif
 
-
 #ifdef RT_DEBUG
 /* RT_ASSERT(EX)'s hook */
 

+ 0 - 2
src/object.c

@@ -114,7 +114,6 @@ static struct rt_object_information _object_container[RT_Object_Info_Unknown] =
 #endif
 };
 
-
 #ifndef __on_rt_object_attach_hook
     #define __on_rt_object_attach_hook(obj)         __ON_HOOK_ARGS(rt_object_attach_hook, (obj))
 #endif
@@ -131,7 +130,6 @@ static struct rt_object_information _object_container[RT_Object_Info_Unknown] =
     #define __on_rt_object_put_hook(parent)         __ON_HOOK_ARGS(rt_object_put_hook, (parent))
 #endif
 
-
 #if defined(RT_USING_HOOK) && defined(RT_HOOK_USING_FUNC_PTR)
 static void (*rt_object_attach_hook)(struct rt_object *object);
 static void (*rt_object_detach_hook)(struct rt_object *object);

+ 0 - 1
src/scheduler.c

@@ -28,7 +28,6 @@
  *                             in smp version, rt_hw_context_switch_interrupt maybe switch to
  *                               new task directly
  * 2022-01-07     Gabriel      Moving __on_rt_xxxxx_hook to scheduler.c
- *
  */
 
 #include <rtthread.h>