diff --git a/quantum/via.c b/quantum/via.c index de9c5180e80..643d7aa3c39 100644 --- a/quantum/via.c +++ b/quantum/via.c @@ -374,9 +374,7 @@ void raw_hid_receive(uint8_t *data, uint8_t length) { break; } case id_dynamic_keymap_set_keycode: { - uint16_t keycode = dynamic_keymap_get_keycode(command_data[0], command_data[1], command_data[2]); dynamic_keymap_set_keycode(command_data[0], command_data[1], command_data[2], (command_data[3] << 8) | command_data[4]); - unregister_code(keycode); break; } case id_dynamic_keymap_reset: {