[PATCH] usb: remove '-usbdevice u2f-key'

Paolo Bonzini posted 1 patch 4 years, 8 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210310154928.268502-1-pbonzini@redhat.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/u2f.c    | 1 -
qemu-options.hx | 3 ---
2 files changed, 4 deletions(-)
[PATCH] usb: remove '-usbdevice u2f-key'
Posted by Paolo Bonzini 4 years, 8 months ago
It never worked.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
---
	Could/should be squashed in Thomas's patch.

Based-on: <20210309165035.967853-1-thuth@redhat.com>
---
 hw/usb/u2f.c    | 1 -
 qemu-options.hx | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/hw/usb/u2f.c b/hw/usb/u2f.c
index bc09191f06..56001249a4 100644
--- a/hw/usb/u2f.c
+++ b/hw/usb/u2f.c
@@ -346,7 +346,6 @@ static const TypeInfo u2f_key_info = {
 static void u2f_key_register_types(void)
 {
     type_register_static(&u2f_key_info);
-    usb_legacy_register(TYPE_U2F_KEY, "u2f-key", NULL);
 }
 
 type_init(u2f_key_register_types)
diff --git a/qemu-options.hx b/qemu-options.hx
index cef8c2da57..fdecee758a 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1759,9 +1759,6 @@ SRST
         position without having to grab the mouse. Also overrides the
         PS/2 mouse emulation when activated.
 
-    ``u2f-key``
-        U2F (Universal Second Factor) key.
-
     ``wacom-tablet``
         Wacom PenPartner USB tablet.
 
-- 
2.29.2