Skip to content

Commit 683e241

Browse files
ying2liuacrnsi
authored andcommitted
DM: remove unused function console_ptr_event
Change-Id: If8dc5ba21d172a6794d86b048d61d9ccfc28cab4 Tracked-On: #3123 Signed-off-by: Ying Liu <ying2.liu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
1 parent 12f55d1 commit 683e241

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

devicemodel/core/console.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,3 @@ console_ptr_unregister()
8989
console.ptr_arg = NULL;
9090
console.ptr_priority = 0;
9191
}
92-
93-
void
94-
console_ptr_event(uint8_t button, int x, int y)
95-
{
96-
if (console.ptr_event_cb)
97-
(*console.ptr_event_cb)(button, x, y, console.ptr_arg);
98-
}

devicemodel/include/console.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,5 @@ void console_kbd_unregister(void);
4242

4343
void console_ptr_register(ptr_event_func_t event_cb, void *arg, int pri);
4444
void console_ptr_unregister(void);
45-
void console_ptr_event(uint8_t button, int x, int y);
4645

4746
#endif /* _CONSOLE_H_ */

0 commit comments

Comments
 (0)