diff options
Diffstat (limited to 'net/wimax/op-reset.c')
| -rw-r--r-- | net/wimax/op-reset.c | 18 | 
1 files changed, 1 insertions, 17 deletions
diff --git a/net/wimax/op-reset.c b/net/wimax/op-reset.c index 68bedf3e544..eb4580784d9 100644 --- a/net/wimax/op-reset.c +++ b/net/wimax/op-reset.c @@ -32,6 +32,7 @@  #include <net/genetlink.h>  #include <linux/wimax.h>  #include <linux/security.h> +#include <linux/export.h>  #include "wimax-internal.h"  #define D_SUBMODULE op_reset @@ -91,13 +92,6 @@ int wimax_reset(struct wimax_dev *wimax_dev)  EXPORT_SYMBOL(wimax_reset); -static const struct nla_policy wimax_gnl_reset_policy[WIMAX_GNL_ATTR_MAX + 1] = { -	[WIMAX_GNL_RESET_IFIDX] = { -		.type = NLA_U32, -	}, -}; - -  /*   * Exporting to user space over generic netlink   * @@ -105,7 +99,6 @@ static const struct nla_policy wimax_gnl_reset_policy[WIMAX_GNL_ATTR_MAX + 1] =   *   * No attributes.   */ -static  int wimax_gnl_doit_reset(struct sk_buff *skb, struct genl_info *info)  {  	int result, ifindex; @@ -129,12 +122,3 @@ error_no_wimax_dev:  	d_fnend(3, NULL, "(skb %p info %p) = %d\n", skb, info, result);  	return result;  } - - -struct genl_ops wimax_gnl_reset = { -	.cmd = WIMAX_GNL_OP_RESET, -	.flags = GENL_ADMIN_PERM, -	.policy = wimax_gnl_reset_policy, -	.doit = wimax_gnl_doit_reset, -	.dumpit = NULL, -};  | 
