Re: [PATCH] netevent: remove automatic variable in register_netevent_notifier()

From: long.wanglong
Date: Thu May 28 2015 - 20:56:39 EST


On 2015/5/28 22:07, Sergei Shtylyov wrote:
> Hello.
>
> On 5/28/2015 1:00 PM, Wang Long wrote:
>
>> Remove automatic variable 'err' in register_netevent_notifier() and
>> return the return value of atomic_notifier_chain_register() directly.
>
> s/return value/result/, in order to avoid tautology.
>
>> Signed-off-by: Wang Long <long.wanglong@xxxxxxxxxx>
> [...]
>
> WBR, Sergei
>
>
>

Thanks, I will fix that.

Best Regards
Wang Long

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/