projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b966b5d
)
drbd: Removed dead code
author
Philipp Reisner
<philipp.reisner@linbit.com>
Mon, 2 May 2011 09:24:04 +0000
(11:24 +0200)
committer
Philipp Reisner
<philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:55:40 +0000
(16:55 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_nl.c
patch
|
blob
|
history
diff --git
a/drivers/block/drbd/drbd_nl.c
b/drivers/block/drbd/drbd_nl.c
index f5732cf46c2f732e5450cf60d7c30e4c2044be23..8d2c3397cea87041a6b9d3f7f6c33e2fb889efff 100644
(file)
--- 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);