usb: kbd: Remove check for already being registered
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Sep 2014 14:54:36 +0000 (16:54 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:43 +0000 (14:50 +0200)
commit3f78a28037c65b92d2717b7787902a853c2506a4
tree0a63b58a67fe90dab3f95b6f2155c70921573867
parent6e78c74f62ebfa378d1a2f9b83423b23545c28bf
usb: kbd: Remove check for already being registered

We now always properly deregister the keyboard before calling
drv_usb_kbd_init(), so we can drop the check for already being registered.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
common/usb_kbd.c