Skip to content
Commit 282c320d authored by Wang Long's avatar Wang Long Committed by David S. Miller
Browse files

netevent: remove automatic variable in register_netevent_notifier()



Remove automatic variable 'err' in register_netevent_notifier() and
return the result of atomic_notifier_chain_register() directly.

Signed-off-by: default avatarWang Long <long.wanglong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 583d3f5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment