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

From: Sergei Shtylyov
Date: Thu May 28 2015 - 10:08:11 EST


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

--
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/