mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
usb: Remove unused variable in usb_setup_descriptor()
The compiler did not catch this as it was marked __maybe_unused. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
012681b1fa
commit
126ca94274
1 changed files with 0 additions and 2 deletions
|
@ -959,8 +959,6 @@ static int get_descriptor_len(struct usb_device *dev, int len, int expect_len)
|
||||||
|
|
||||||
static int usb_setup_descriptor(struct usb_device *dev, bool do_read)
|
static int usb_setup_descriptor(struct usb_device *dev, bool do_read)
|
||||||
{
|
{
|
||||||
__maybe_unused struct usb_device_descriptor *desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is a Windows scheme of initialization sequence, with double
|
* This is a Windows scheme of initialization sequence, with double
|
||||||
* reset of the device (Linux uses the same sequence)
|
* reset of the device (Linux uses the same sequence)
|
||||||
|
|
Loading…
Reference in a new issue