netfilter: xtables: remove redundant casts
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
This commit is contained in:
@@ -280,7 +280,7 @@ static void trace_packet(struct sk_buff *skb,
|
|||||||
char *hookname, *chainname, *comment;
|
char *hookname, *chainname, *comment;
|
||||||
unsigned int rulenum = 0;
|
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]);
|
root = get_entry(table_base, private->hook_entry[hook]);
|
||||||
|
|
||||||
hookname = chainname = (char *)hooknames[hook];
|
hookname = chainname = (char *)hooknames[hook];
|
||||||
|
@@ -312,7 +312,7 @@ static void trace_packet(struct sk_buff *skb,
|
|||||||
char *hookname, *chainname, *comment;
|
char *hookname, *chainname, *comment;
|
||||||
unsigned int rulenum = 0;
|
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]);
|
root = get_entry(table_base, private->hook_entry[hook]);
|
||||||
|
|
||||||
hookname = chainname = (char *)hooknames[hook];
|
hookname = chainname = (char *)hooknames[hook];
|
||||||
|
Reference in New Issue
Block a user