mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
netfilter: xtables: remove redundant casts
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
This commit is contained in:
parent
4ba351cf86
commit
ccf5bd8c27
2 changed files with 2 additions and 2 deletions
|
@ -280,7 +280,7 @@ static void trace_packet(struct sk_buff *skb,
|
|||
char *hookname, *chainname, *comment;
|
||||
unsigned int rulenum = 0;
|
||||
|
||||
table_base = (void *)private->entries[smp_processor_id()];
|
||||
table_base = private->entries[smp_processor_id()];
|
||||
root = get_entry(table_base, private->hook_entry[hook]);
|
||||
|
||||
hookname = chainname = (char *)hooknames[hook];
|
||||
|
|
|
@ -312,7 +312,7 @@ static void trace_packet(struct sk_buff *skb,
|
|||
char *hookname, *chainname, *comment;
|
||||
unsigned int rulenum = 0;
|
||||
|
||||
table_base = (void *)private->entries[smp_processor_id()];
|
||||
table_base = private->entries[smp_processor_id()];
|
||||
root = get_entry(table_base, private->hook_entry[hook]);
|
||||
|
||||
hookname = chainname = (char *)hooknames[hook];
|
||||
|
|
Loading…
Reference in a new issue