]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/ipv4/nexthop.c
netfilter: drop bridge nf reset from nf_reset
[linux.git] / net / ipv4 / nexthop.c
index 5fe5a3981d4316ad8d9dbf54f5d9017b89e24038..fc34fd1668d6ddd44a5cd4e47ad98c5decb2c1d5 100644 (file)
@@ -1151,7 +1151,7 @@ static int nh_create_ipv4(struct net *net, struct nexthop *nh,
                .fc_encap_type = cfg->nh_encap_type,
        };
        u32 tb_id = l3mdev_fib_table(cfg->dev);
-       int err = -EINVAL;
+       int err;
 
        err = fib_nh_init(net, fib_nh, &fib_cfg, 1, extack);
        if (err) {