crypto: testmgr - Fix error flow of test_comp
[safe/jmp/linux-2.6] / crypto / testmgr.c
index 67dce77..67ff4aa 100644 (file)
@@ -853,7 +853,7 @@ static int test_comp(struct crypto_comp *tfm, struct comp_testvec *ctemplate,
        }
 
        for (i = 0; i < dtcount; i++) {
-               int ilen, ret, dlen = COMP_BUF_SIZE;
+               int ilen, dlen = COMP_BUF_SIZE;
 
                memset(result, 0, sizeof (result));