summaryrefslogtreecommitdiff
path: root/drivers/usb/emul/sandbox_keyb.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-10-01 06:19:36 -0700
committerMarek Vasut <marex@denx.de>2017-10-01 16:32:50 +0200
commit98b639fc503e16cffa902d3ab89b29b9b5dcbf57 (patch)
treedf4ee0c1776590d1d11194e43b0247910ee0d888 /drivers/usb/emul/sandbox_keyb.c
parent6e9b109aa9bcdd094e77da9fb03de8b44da8eb9d (diff)
usb: emul: Remove maxpacketsize in usb_emul_setup_device()
This parameter is never used. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/usb/emul/sandbox_keyb.c')
-rw-r--r--drivers/usb/emul/sandbox_keyb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/emul/sandbox_keyb.c b/drivers/usb/emul/sandbox_keyb.c
index 27359851df..cff017668f 100644
--- a/drivers/usb/emul/sandbox_keyb.c
+++ b/drivers/usb/emul/sandbox_keyb.c
@@ -208,8 +208,7 @@ static int sandbox_keyb_bind(struct udevice *dev)
fs[2].id = STRINGID_SERIAL;
fs[2].s = dev->name;
- return usb_emul_setup_device(dev, PACKET_SIZE_8, plat->keyb_strings,
- keyb_desc_list);
+ return usb_emul_setup_device(dev, plat->keyb_strings, keyb_desc_list);
}
static int sandbox_keyb_probe(struct udevice *dev)