The target variable is not used in the compat_copy_entry_from_user().
So It can be removed.
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
                            struct xt_table_info *newinfo, unsigned char *base)
 {
        struct xt_entry_target *t;
-       struct xt_target *target;
        struct arpt_entry *de;
        unsigned int origsize;
        int h;
 
        de->target_offset = e->target_offset - (origsize - *size);
        t = compat_arpt_get_target(e);
-       target = t->u.kernel.target;
        xt_compat_target_from_user(t, dstptr, size);
 
        de->next_offset = e->next_offset - (origsize - *size);
 
                            struct xt_table_info *newinfo, unsigned char *base)
 {
        struct xt_entry_target *t;
-       struct xt_target *target;
        struct ipt_entry *de;
        unsigned int origsize;
        int h;
 
        de->target_offset = e->target_offset - (origsize - *size);
        t = compat_ipt_get_target(e);
-       target = t->u.kernel.target;
        xt_compat_target_from_user(t, dstptr, size);
 
        de->next_offset = e->next_offset - (origsize - *size);