[NETFILTER] nfnetlink: nfattr_parse() can never fail, make it void
authorHarald Welte <laforge@netfilter.org>
Wed, 9 Nov 2005 20:59:13 +0000 (12:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2005 20:59:13 +0000 (12:59 -0800)
commita2506c04322ca266fe2f9bd7d02a67b1972da611
treed7ba0e2ea3e8fc2f6215676c6ca6682b7b847f1b
parenteaae4fa45e0f4cd1da0f00ae93551edb1002b2b9
[NETFILTER] nfnetlink: nfattr_parse() can never fail, make it void

nfattr_parse (and thus nfattr_parse_nested) always returns success. So we
can make them 'void' and remove all the checking at the caller side.

Based on original patch by Pablo Neira Ayuso <pablo@netfilter.org>

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nfnetlink.h
net/ipv4/netfilter/ip_conntrack_netlink.c
net/ipv4/netfilter/ip_conntrack_proto_tcp.c
net/netfilter/nfnetlink.c