diff options
author | Arnd Bergmann <[email protected]> | 2017-11-15 18:28:21 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-11-16 10:49:00 +0900 |
commit | 8252fceac01570836f0cb9e922f56b4c0b1011df (patch) | |
tree | a5a7c1216323dff7bc7bed339f45549be1c70bd1 /net/tipc/node.c | |
parent | 9421c90150470512bd5d0fc49eaa108a0b195358 (diff) |
netfilter: add ifdef around ctnetlink_proto_size
This function is no longer marked 'inline', so we now get a warning
when it is unused:
net/netfilter/nf_conntrack_netlink.c:536:15: error: 'ctnetlink_proto_size' defined but not used [-Werror=unused-function]
We could mark it inline again, mark it __maybe_unused, or add an #ifdef
around the definition. I'm picking the third approach here since that
seems to be what the rest of the file has.
Fixes: 5caaed151a68 ("netfilter: conntrack: don't cache nlattr_tuple_size result in nla_size")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions