Re: [PATCH v1] usb: core: Make use of acpi_evaluate_object() status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 18, 2020 at 09:17:47PM +0300, Sergei Shtylyov wrote:
> On 02/18/2020 07:09 PM, Andy Shevchenko wrote:

...

> > +	if (!upc || (upc->type != ACPI_TYPE_PACKAGE) || upc->package.count != 4) {
> >  		goto out;
> >  	}
> 
>    I'd drop {} here, while at it.

Yep, makes sense, thanks!

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux