]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/dma:remove unused variable
authorZhu Jun <zhujun2@cmss.chinamobile.com>
Wed, 10 Jul 2024 06:57:59 +0000 (23:57 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 11 Jul 2024 17:23:55 +0000 (11:23 -0600)
The variable are never referenced in the code, just remove it
that this problem was discovered by reading code

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/dma/dma_map_benchmark.c

index 5c997f17fcbdb0d183519b7291d1f41159ea6c08..b12f1f9babf8f2ce5cf2ea197aa154fb8b70ab48 100644 (file)
@@ -33,7 +33,6 @@ int main(int argc, char **argv)
        int granule = 1;
 
        int cmd = DMA_MAP_BENCHMARK;
-       char *p;
 
        while ((opt = getopt(argc, argv, "t:s:n:b:d:x:g:")) != -1) {
                switch (opt) {