commit | 282c320d33541d61f4ab91248448040c4ebab1fc | [log] [tgz] |
---|---|---|
author | Wang Long <long.wanglong@huawei.com> | Fri May 29 01:02:08 2015 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun May 31 00:03:21 2015 -0700 |
tree | 7881fb7b472f19398e2f9407906b89df8a2e5c60 | |
parent | 583d3f5af2a6dfa7866715d9e062dbfb3b66a6f0 [diff] |
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: Wang Long <long.wanglong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>