ematch: simpler tcf_em_unregister()
Simply delete ops from list and let list debugging do the job. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
6eba6a372b
commit
4d24b52ac5
@@ -246,7 +246,7 @@ struct tcf_ematch_ops
|
||||
};
|
||||
|
||||
extern int tcf_em_register(struct tcf_ematch_ops *);
|
||||
extern int tcf_em_unregister(struct tcf_ematch_ops *);
|
||||
extern void tcf_em_unregister(struct tcf_ematch_ops *);
|
||||
extern int tcf_em_tree_validate(struct tcf_proto *, struct nlattr *,
|
||||
struct tcf_ematch_tree *);
|
||||
extern void tcf_em_tree_destroy(struct tcf_proto *, struct tcf_ematch_tree *);
|
||||
|
Reference in New Issue
Block a user