Commit 3c9143d9 authored by Xu Wang's avatar Xu Wang Committed by David S. Miller
Browse files

net: sched : Remove unnecessary cast in kfree



Remove unnecassary casts in the argument to kfree.

Signed-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 92a8da46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -199,7 +199,7 @@ static void em_ipt_destroy(struct tcf_ematch *em)
		im->match->destroy(&par);
	}
	module_put(im->match->me);
	kfree((void *)im);
	kfree(im);
}

static int em_ipt_match(struct sk_buff *skb, struct tcf_ematch *em,