Messages in this thread | | | Subject | Re: [2/2] net/usb/ax88179_178a: Delete three unnecessary variables in ax88179_chk_eee() | From | Oliver Neukum <> | Date | Tue, 13 Mar 2018 11:26:57 +0100 |
| |
Am Dienstag, den 13.03.2018, 08:24 +0100 schrieb SF Markus Elfring: > > > > > > > > Use three values directly for a condition check without assigning them > > > to intermediate variables. > > > > Hi, > > > > what is the benefit of this? > > I proposed a small source code reduction. > > Other software design directions might become more interesting for this use case.
Yes and doing so you killed three meaningful names that tell us what these checks actually test for. That is not an improvement.
Regards Oliver
| |