Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netfilter: x_tables: Remove unused functions xt_{in|out}name()

Since commit 2173c519d5e9 ("audit: normalize NETFILTER_PKT")
these are unused, so can be removed.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

authored by

Yue Haibing and committed by
Pablo Neira Ayuso
031a7124 e89a6804

-10
-10
include/linux/netfilter/x_tables.h
··· 51 51 return par->state->in; 52 52 } 53 53 54 - static inline const char *xt_inname(const struct xt_action_param *par) 55 - { 56 - return par->state->in->name; 57 - } 58 - 59 54 static inline struct net_device *xt_out(const struct xt_action_param *par) 60 55 { 61 56 return par->state->out; 62 - } 63 - 64 - static inline const char *xt_outname(const struct xt_action_param *par) 65 - { 66 - return par->state->out->name; 67 57 } 68 58 69 59 static inline unsigned int xt_hooknum(const struct xt_action_param *par)