Remove dead assignment
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 26 Apr 2012 14:39:54 +0000 (11:39 -0300)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 26 Apr 2012 14:39:54 +0000 (11:39 -0300)
tools/kmod-depmod.c

index 1871e18..f11ceed 100644 (file)
@@ -1242,7 +1242,7 @@ static int depmod_modules_search_file(struct depmod *depmod, size_t baselen, siz
        const struct kmod_ext *eitr;
        size_t modnamelen;
        uint8_t matches = 0;
-       int err = 0;
+       int err;
 
        for (eitr = kmod_exts; eitr->ext != NULL; eitr++) {
                if (namelen <= eitr->len)