Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlocked_ioctl

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

 



On 14:17, Richard Knutsson wrote:

> Would had preferred:
> 
> if (x) {
>    result = -Exxxx;
>    goto out;
> }
> 
> then:
> 
> result = -Exxxx;
> if (x)
>    goto out;
> 

AFAIK, the second form is preferred in Linux because it is better
readable and it generates slightly better code.

Thanks for the review.
Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux