Re: [PATCH] btrfs: return a literal instead of a variable

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

 



On Wed, Mar 05, 2025 at 06:01:57PM +0300, Dan Carpenter wrote:
> This is just a small clean up, it doesn't change how the code works.
> Originally this code had a goto so we needed to set "ret = 0;" but now
> it returns directly and so we can simplify it a bit by doing a
> "return 0;" and removing the assignment.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Added to for-next, thanks.




[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