Commit ae0662f8 authored by kbuild test robot's avatar kbuild test robot Committed by Pablo Neira Ayuso

netfilter: nf_tables: nf_tables_obj_lookup_byhandle() can be static

Fixes: 3ecbfd65 ("netfilter: nf_tables: allocate handle and delete objects via handle")
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent ef3f6c25
...@@ -4328,7 +4328,7 @@ struct nft_object *nf_tables_obj_lookup(const struct nft_table *table, ...@@ -4328,7 +4328,7 @@ struct nft_object *nf_tables_obj_lookup(const struct nft_table *table,
} }
EXPORT_SYMBOL_GPL(nf_tables_obj_lookup); EXPORT_SYMBOL_GPL(nf_tables_obj_lookup);
struct nft_object *nf_tables_obj_lookup_byhandle(const struct nft_table *table, static struct nft_object *nf_tables_obj_lookup_byhandle(const struct nft_table *table,
const struct nlattr *nla, const struct nlattr *nla,
u32 objtype, u8 genmask) u32 objtype, u8 genmask)
{ {
...@@ -4850,7 +4850,7 @@ struct nft_flowtable *nf_tables_flowtable_lookup(const struct nft_table *table, ...@@ -4850,7 +4850,7 @@ struct nft_flowtable *nf_tables_flowtable_lookup(const struct nft_table *table,
} }
EXPORT_SYMBOL_GPL(nf_tables_flowtable_lookup); EXPORT_SYMBOL_GPL(nf_tables_flowtable_lookup);
struct nft_flowtable * static struct nft_flowtable *
nf_tables_flowtable_lookup_byhandle(const struct nft_table *table, nf_tables_flowtable_lookup_byhandle(const struct nft_table *table,
const struct nlattr *nla, u8 genmask) const struct nlattr *nla, u8 genmask)
{ {
......
Markdown is supported
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