From: Punit Agrawal <punit1.agrawal@xxxxxxxxxxxxx> Two copies of "bufsize", initialised with the same value are declared in enclosed blocks. Remove the redundant declaration. Signed-off-by: Punit Agrawal <punit1.agrawal@xxxxxxxxxxxxx> Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- src/cyclictest/cyclictest.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 73c5be972391..490aedb54c03 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -2059,7 +2059,6 @@ int main(int argc, char **argv) memset(stat->values, 0, bufsize); par->bufmsk = VALBUF_SIZE - 1; if (smi) { - int bufsize = VALBUF_SIZE * sizeof(long); stat->smis = threadalloc(bufsize, node); if (!stat->smis) goto outall; -- 2.31.1