diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-10-08 11:35:16 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-10-08 11:35:16 +0200 |
commit | f7277f8d3aa4d3f99a9bdb48b27a2344a637a4b2 (patch) | |
tree | b150223d78c240166ec7ea61dab679d6ad30633c /net/bridge/netfilter/ebt_nflog.c | |
parent | 66bff35b722956cc2423f55fcf1b69cefa24ef8b (diff) | |
download | op-kernel-dev-f7277f8d3aa4d3f99a9bdb48b27a2344a637a4b2.zip op-kernel-dev-f7277f8d3aa4d3f99a9bdb48b27a2344a637a4b2.tar.gz |
netfilter: remove redundant casts from Ebtables
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/bridge/netfilter/ebt_nflog.c')
-rw-r--r-- | net/bridge/netfilter/ebt_nflog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/netfilter/ebt_nflog.c b/net/bridge/netfilter/ebt_nflog.c index 917ac36..74b4fa0 100644 --- a/net/bridge/netfilter/ebt_nflog.c +++ b/net/bridge/netfilter/ebt_nflog.c @@ -24,7 +24,7 @@ ebt_nflog_tg(struct sk_buff *skb, const struct net_device *in, const struct net_device *out, unsigned int hooknr, const struct xt_target *target, const void *data) { - struct ebt_nflog_info *info = (struct ebt_nflog_info *)data; + const struct ebt_nflog_info *info = data; struct nf_loginfo li; li.type = NF_LOG_TYPE_ULOG; @@ -41,7 +41,7 @@ ebt_nflog_tg_check(const char *table, const void *e, const struct xt_target *target, void *data, unsigned int hookmask) { - struct ebt_nflog_info *info = (struct ebt_nflog_info *)data; + struct ebt_nflog_info *info = data; if (info->flags & ~EBT_NFLOG_MASK) return false; |