projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1702ad7
)
netfilter: nf_tables: Remove ununsed function nft_data_debug
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 16 Sep 2020 14:16:56 +0000
(22:16 +0800)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Mon, 21 Sep 2020 23:35:29 +0000
(
01:35
+0200)
It is never used, so can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
patch
|
blob
|
history
diff --git
a/include/net/netfilter/nf_tables.h
b/include/net/netfilter/nf_tables.h
index
8ceca0e
..
c4c5265
100644
(file)
--- a/
include/net/netfilter/nf_tables.h
+++ b/
include/net/netfilter/nf_tables.h
@@
-148,13
+148,6
@@
static inline void nft_data_copy(u32 *dst, const struct nft_data *src,
memcpy(dst, src, len);
}
-static inline void nft_data_debug(const struct nft_data *data)
-{
- pr_debug("data[0]=%x data[1]=%x data[2]=%x data[3]=%x\n",
- data->data[0], data->data[1],
- data->data[2], data->data[3]);
-}
-
/**
* struct nft_ctx - nf_tables rule/set context
*