Commit 15608756 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Steffen Klassert

xfrm: remove unused struct xfrm_mgr::id

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent add641e7
...@@ -586,7 +586,6 @@ struct xfrm_migrate { ...@@ -586,7 +586,6 @@ struct xfrm_migrate {
struct xfrm_mgr { struct xfrm_mgr {
struct list_head list; struct list_head list;
char *id;
int (*notify)(struct xfrm_state *x, const struct km_event *c); int (*notify)(struct xfrm_state *x, const struct km_event *c);
int (*acquire)(struct xfrm_state *x, struct xfrm_tmpl *, struct xfrm_policy *xp); int (*acquire)(struct xfrm_state *x, struct xfrm_tmpl *, struct xfrm_policy *xp);
struct xfrm_policy *(*compile_policy)(struct sock *sk, int opt, u8 *data, int len, int *dir); struct xfrm_policy *(*compile_policy)(struct sock *sk, int opt, u8 *data, int len, int *dir);
......
...@@ -3792,7 +3792,6 @@ static inline void pfkey_exit_proc(struct net *net) ...@@ -3792,7 +3792,6 @@ static inline void pfkey_exit_proc(struct net *net)
static struct xfrm_mgr pfkeyv2_mgr = static struct xfrm_mgr pfkeyv2_mgr =
{ {
.id = "pfkeyv2",
.notify = pfkey_send_notify, .notify = pfkey_send_notify,
.acquire = pfkey_send_acquire, .acquire = pfkey_send_acquire,
.compile_policy = pfkey_compile_policy, .compile_policy = pfkey_compile_policy,
......
...@@ -3101,7 +3101,6 @@ static bool xfrm_is_alive(const struct km_event *c) ...@@ -3101,7 +3101,6 @@ static bool xfrm_is_alive(const struct km_event *c)
} }
static struct xfrm_mgr netlink_mgr = { static struct xfrm_mgr netlink_mgr = {
.id = "netlink",
.notify = xfrm_send_state_notify, .notify = xfrm_send_state_notify,
.acquire = xfrm_send_acquire, .acquire = xfrm_send_acquire,
.compile_policy = xfrm_compile_policy, .compile_policy = xfrm_compile_policy,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment