From: Zhu Jun Date: Wed, 10 Jul 2024 06:57:59 +0000 (-0700) Subject: selftests/dma:remove unused variable X-Git-Tag: v6.11-rc1~164^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df09b0bb09ea9775b66a5d24dc0fe0f86855efb5;p=thirdparty%2Fkernel%2Flinux.git selftests/dma:remove unused variable The variable are never referenced in the code, just remove it that this problem was discovered by reading code Signed-off-by: Zhu Jun Signed-off-by: Shuah Khan --- diff --git a/tools/testing/selftests/dma/dma_map_benchmark.c b/tools/testing/selftests/dma/dma_map_benchmark.c index 5c997f17fcbdb..b12f1f9babf8f 100644 --- a/tools/testing/selftests/dma/dma_map_benchmark.c +++ b/tools/testing/selftests/dma/dma_map_benchmark.c @@ -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) {