Skip to content

Commit 6bb9e54

Browse files
committed
change all double-empty-lines to single-empty-lines
1 parent d7b8cf8 commit 6bb9e54

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

src/ipc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
#include <rtthread.h>
4646
#include <rthw.h>
4747

48-
4948
#ifndef __on_rt_object_trytake_hook
5049
#define __on_rt_object_trytake_hook(parent) __ON_HOOK_ARGS(rt_object_trytake_hook, (parent))
5150
#endif

src/kservice.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,12 +1742,10 @@ int __rt_ffs(int value)
17421742
#endif /* RT_USING_TINY_FFS */
17431743
#endif /* RT_USING_CPU_FFS */
17441744

1745-
17461745
#ifndef __on_rt_assert_hook
17471746
#define __on_rt_assert_hook(ex, func, line) __ON_HOOK_ARGS(rt_assert_hook, (ex, func, line))
17481747
#endif
17491748

1750-
17511749
#ifdef RT_DEBUG
17521750
/* RT_ASSERT(EX)'s hook */
17531751

src/object.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ static struct rt_object_information _object_container[RT_Object_Info_Unknown] =
114114
#endif
115115
};
116116

117-
118117
#ifndef __on_rt_object_attach_hook
119118
#define __on_rt_object_attach_hook(obj) __ON_HOOK_ARGS(rt_object_attach_hook, (obj))
120119
#endif
@@ -131,7 +130,6 @@ static struct rt_object_information _object_container[RT_Object_Info_Unknown] =
131130
#define __on_rt_object_put_hook(parent) __ON_HOOK_ARGS(rt_object_put_hook, (parent))
132131
#endif
133132

134-
135133
#if defined(RT_USING_HOOK) && defined(RT_HOOK_USING_FUNC_PTR)
136134
static void (*rt_object_attach_hook)(struct rt_object *object);
137135
static void (*rt_object_detach_hook)(struct rt_object *object);

src/scheduler.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
* in smp version, rt_hw_context_switch_interrupt maybe switch to
2929
* new task directly
3030
* 2022-01-07 Gabriel Moving __on_rt_xxxxx_hook to scheduler.c
31-
*
3231
*/
3332

3433
#include <rtthread.h>

0 commit comments

Comments
 (0)