lkml.org 
[lkml]   [2011]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 01/15] drbd: Removed dead code
    Date
    Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
    Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
    ---
    drivers/block/drbd/drbd_nl.c | 2 --
    1 files changed, 0 insertions(+), 2 deletions(-)

    diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c
    index d596900..13230d9 100644
    --- a/drivers/block/drbd/drbd_nl.c
    +++ b/drivers/block/drbd/drbd_nl.c
    @@ -2285,7 +2285,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;

    @@ -2336,7 +2335,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);
    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-10-06 15:41    [W:0.029 / U:0.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site