Commit 934e6138 authored by Philipp Reisner's avatar Philipp Reisner

drbd: Removed dead code

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
parent b966b5dd
...@@ -2240,7 +2240,6 @@ int drbd_adm_resource_opts(struct sk_buff *skb, struct genl_info *info) ...@@ -2240,7 +2240,6 @@ int drbd_adm_resource_opts(struct sk_buff *skb, struct genl_info *info)
enum drbd_ret_code retcode; enum drbd_ret_code retcode;
cpumask_var_t new_cpu_mask; cpumask_var_t new_cpu_mask;
struct drbd_tconn *tconn; struct drbd_tconn *tconn;
int *rs_plan_s = NULL;
struct res_opts res_opts; struct res_opts res_opts;
int err; int err;
...@@ -2291,7 +2290,6 @@ int drbd_adm_resource_opts(struct sk_buff *skb, struct genl_info *info) ...@@ -2291,7 +2290,6 @@ int drbd_adm_resource_opts(struct sk_buff *skb, struct genl_info *info)
} }
fail: fail:
kfree(rs_plan_s);
free_cpumask_var(new_cpu_mask); free_cpumask_var(new_cpu_mask);
drbd_adm_finish(info, retcode); drbd_adm_finish(info, retcode);
......
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