]> granicus.if.org Git - libnl/commitdiff
lib/route/cls/u32.c: remove bogus comment
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 8 Jun 2017 08:59:27 +0000 (10:59 +0200)
committerRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 8 Jun 2017 08:59:27 +0000 (10:59 +0200)
lib/route/cls/u32.c

index 82b56652093fefb1f47b2c7c660eb8cc91e2d2bf..366fc193b38177dde049eac9960a2ad005b0249e 100644 (file)
@@ -711,7 +711,6 @@ int rtnl_u32_get_key(struct rtnl_cls *cls, uint8_t index,
        if (!(u->cu_mask & U32_ATTR_SELECTOR))
                return -NLE_INVAL;
 
-       /* the selector might have been moved by realloc */
        sel = u32_selector(u);
        if (index >= sel->nkeys)
                return -NLE_RANGE;