aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-05-02 11:24:04 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:55:40 +0100
commit934e6138b56203231d757d7b5ca3252edffc210e (patch)
tree4259f1d16122cb5b34048269afdfce16c7c9913c
parentb966b5dd8e17e6c105ca55533fd412de5d5b429e (diff)
downloadvexpress-lsk-934e6138b56203231d757d7b5ca3252edffc210e.tar.gz
drbd: Removed dead code
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
-rw-r--r--drivers/block/drbd/drbd_nl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c
index f5732cf46c2..8d2c3397cea 100644
--- a/drivers/block/drbd/drbd_nl.c
+++ b/drivers/block/drbd/drbd_nl.c
@@ -2240,7 +2240,6 @@ int drbd_adm_resource_opts(struct sk_buff *skb, struct genl_info *info)
enum drbd_ret_code retcode;
cpumask_var_t new_cpu_mask;
struct drbd_tconn *tconn;
- int *rs_plan_s = NULL;
struct res_opts res_opts;
int err;
@@ -2291,7 +2290,6 @@ int drbd_adm_resource_opts(struct sk_buff *skb, struct genl_info *info)
}
fail:
- kfree(rs_plan_s);
free_cpumask_var(new_cpu_mask);
drbd_adm_finish(info, retcode);