Re: [PATCH] ACPI: SPCR: Support Precise Baud Rate filed

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

 



On Fri, 12 Sep 2025 11:29:44 +0200, rafael@xxxxxxxxxx wrote:

> > +       if (table->precise_baudrate)
> > +               baud_rate =3D table->precise_baudrate;
> > +       else {> 

> The outer braces here are redundant and if you combined the "else"
> above with the "switch ()" statement below in one line, the patch
> would be smaller.> 

> > +               switch (table->baud_rate) {
> > +               case 0:

Thanks for your suggestion. I will modify it.





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux