mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
usb: squash lines for immediate return
This makes functions much simpler. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
committed by
Tom Rini
parent
4052734273
commit
8319aeb1da
@@ -605,11 +605,8 @@ int usb_kbd_deregister(int force)
|
||||
static int usb_kbd_probe(struct udevice *dev)
|
||||
{
|
||||
struct usb_device *udev = dev_get_parent_priv(dev);
|
||||
int ret;
|
||||
|
||||
ret = probe_usb_keyboard(udev);
|
||||
|
||||
return ret;
|
||||
return probe_usb_keyboard(udev);
|
||||
}
|
||||
|
||||
static int usb_kbd_remove(struct udevice *dev)
|
||||
|
Reference in New Issue
Block a user