diff options
author | Jean Sacren <sakiwit@gmail.com> | 2012-08-19 19:11:32 +0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-22 21:17:38 +0400 |
commit | 90efbed18a30d78145419cdbd44f9ec152efeb16 (patch) | |
tree | 8724b522e0b6152856baad0a407573a917bbf6da /net/ipv6/addrconf.c | |
parent | 6705e86724f1ac83394592be7dbfc0c07ac25aa2 (diff) | |
download | linux-90efbed18a30d78145419cdbd44f9ec152efeb16.tar.xz |
netfilter: remove unnecessary goto statement for error recovery
Usually it's a good practice to use goto statement for error recovery
when initializing the module. This approach could be an overkill if:
1) there is only one fail case;
2) success and failure use the same return statement.
For a cleaner approach, remove the unnecessary goto statement and
directly implement error recovery.
Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions