projects
/
platform
/
core
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd762de
)
Code clean up
88/224888/1
author
eson
<eson@samsung.com>
Fri, 14 Feb 2020 02:06:57 +0000
(11:06 +0900)
committer
eson
<eson@samsung.com>
Fri, 14 Feb 2020 02:14:54 +0000
(11:14 +0900)
Remove unused variable and code
Change-Id: I67119d3d02f8153661aca95aa6893e8aa03e72ae
test/hid_keyboard.c
patch
|
blob
|
history
diff --git
a/test/hid_keyboard.c
b/test/hid_keyboard.c
index
e4e6b11
..
5dca9db
100644
(file)
--- a/
test/hid_keyboard.c
+++ b/
test/hid_keyboard.c
@@
-586,8
+586,6
@@
static void __bt_tc_usage_print(void)
HID_PRT("\n");
}
-static int key_code = 0x01;
-
static int __bt_test_input_callback(void *data)
{
int ret = 0;
@@
-663,8
+661,6
@@
static int __bt_test_input_callback(void *data)
case BT_HID_DEVICE_TEST_CHANNEL_UP:
pressedkey[0] = KEYBOARD_F12; /* CH up */
- HID_PRT("key_code %d", key_code);
-
memcpy(send_data.key, pressedkey, 8);
send_data.modifier = 0;