diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-10-08 13:35:16 +0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-10-08 13:35:16 +0400 |
commit | f7277f8d3aa4d3f99a9bdb48b27a2344a637a4b2 (patch) | |
tree | b150223d78c240166ec7ea61dab679d6ad30633c /net/bridge/netfilter/ebt_limit.c | |
parent | 66bff35b722956cc2423f55fcf1b69cefa24ef8b (diff) | |
download | linux-f7277f8d3aa4d3f99a9bdb48b27a2344a637a4b2.tar.xz |
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_limit.c')
-rw-r--r-- | net/bridge/netfilter/ebt_limit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebt_limit.c b/net/bridge/netfilter/ebt_limit.c index 43d9a5003633..58aaaa149068 100644 --- a/net/bridge/netfilter/ebt_limit.c +++ b/net/bridge/netfilter/ebt_limit.c @@ -35,7 +35,7 @@ ebt_limit_mt(const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct xt_match *match, const void *data, int offset, unsigned int protoff, bool *hotdrop) { - struct ebt_limit_info *info = (struct ebt_limit_info *)data; + struct ebt_limit_info *info = (void *)data; unsigned long now = jiffies; spin_lock_bh(&limit_lock); |