summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhu Jun <zhujun2@cmss.chinamobile.com>2024-07-10 09:57:59 +0300
committerShuah Khan <skhan@linuxfoundation.org>2024-07-11 20:23:55 +0300
commitdf09b0bb09ea9775b66a5d24dc0fe0f86855efb5 (patch)
tree93ce3ed83c3578d80df8d66fff01e7ad4b58b538
parente23b1e6a2b9c88c2a69c43f5e525fafec6d6bba0 (diff)
downloadlinux-df09b0bb09ea9775b66a5d24dc0fe0f86855efb5.tar.xz
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 <zhujun2@cmss.chinamobile.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
-rw-r--r--tools/testing/selftests/dma/dma_map_benchmark.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/dma/dma_map_benchmark.c b/tools/testing/selftests/dma/dma_map_benchmark.c
index 5c997f17fcbd..b12f1f9babf8 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) {