Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / net / ipv6 / seg6.c
index d2f8138..e412817 100644 (file)
@@ -122,9 +122,6 @@ static int seg6_genl_sethmac(struct sk_buff *skb, struct genl_info *info)
        hinfo = seg6_hmac_info_lookup(net, hmackeyid);
 
        if (!slen) {
-               if (!hinfo)
-                       err = -ENOENT;
-
                err = seg6_hmac_info_del(net, hmackeyid);
 
                goto out_unlock;