Re: [U-Boot] [PATCH] usb: Remove unused variable in usb_setup_descriptor()

2015-04-21 Thread Marek Vasut
On Monday, April 20, 2015 at 09:27:51 AM, Hans de Goede wrote: > Hi, > > On 19-04-15 15:36, Simon Glass wrote: > > Hi Hans, > > > > On 19 April 2015 at 03:33, Hans de Goede wrote: > >> The compiler did not catch this as it was marked __maybe_unused. > >> > >> Signed-off-by: Hans de Goede > >>

Re: [U-Boot] [PATCH] usb: Remove unused variable in usb_setup_descriptor()

2015-04-20 Thread Hans de Goede
Hi, On 19-04-15 15:36, Simon Glass wrote: Hi Hans, On 19 April 2015 at 03:33, Hans de Goede wrote: The compiler did not catch this as it was marked __maybe_unused. Signed-off-by: Hans de Goede --- common/usb.c | 2 -- 1 file changed, 2 deletions(-) Acked-by: Simon Glass Thanks for sp

Re: [U-Boot] [PATCH] usb: Remove unused variable in usb_setup_descriptor()

2015-04-19 Thread Simon Glass
Hi Hans, On 19 April 2015 at 03:33, Hans de Goede wrote: > The compiler did not catch this as it was marked __maybe_unused. > > Signed-off-by: Hans de Goede > --- > common/usb.c | 2 -- > 1 file changed, 2 deletions(-) Acked-by: Simon Glass Thanks for spotting this. Another minor problem is

[U-Boot] [PATCH] usb: Remove unused variable in usb_setup_descriptor()

2015-04-19 Thread Hans de Goede
The compiler did not catch this as it was marked __maybe_unused. Signed-off-by: Hans de Goede --- common/usb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/usb.c b/common/usb.c index a4820d3..305d5cf 100644 --- a/common/usb.c +++ b/common/usb.c @@ -931,8 +931,6 @@ static int get_d