OSDN Git Service

netfilter: xt_TPROXY: remove pr_debug invocations
authorJustin Stitt <justinstitt@google.com>
Tue, 12 Jul 2022 20:49:00 +0000 (13:49 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 20 Jul 2022 22:56:00 +0000 (00:56 +0200)
commitaa8c7cdbae58b695ed79a0129b6b8c887b25969f
tree526d3dc16001f2f00cbcbaf24161d1aa460bd115
parentf02e7dc4cff80ee882dbc6e207e054f841e4c2e1
netfilter: xt_TPROXY: remove pr_debug invocations

pr_debug calls are no longer needed in this file.

Pablo suggested "a patch to remove these pr_debug calls". This patch has
some other beneficial collateral as it also silences multiple Clang
-Wformat warnings that were present in the pr_debug calls.

diff from v1 -> v2:
* converted if statement one-liner style
* x == NULL is now !x

Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Justin Stitt <justinstitt@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_TPROXY.c