Re: [PATCH] btrfs/extent_map: Remove unneeded variable "ret"
From: Lu Fengqi
Date: Sat Aug 04 2018 - 12:36:18 EST
On Sat, Aug 04, 2018 at 09:19:37PM +0800, zhong jiang wrote:
>On 2018/8/4 20:59, Lu Fengqi wrote:
>> On Sat, Aug 04, 2018 at 07:13:43PM +0800, zhong jiang wrote:
>>> The ret is not used after initalization, So just remove it.
>> So why not change these two functions to void function?
>>
> I just keep the original interface and make the minimal change.
>of course, It is also feasible that make these two functions to void function.
>
>I will repost if you prefer to that change. I am ok with that.
Since the return value which always is 0 is meaningless, I would prefer
to make this change.
--
Thanks,
Lu
>
>Thanks,
>zhong jiang
>
>
>