]> www.infradead.org Git - users/hch/blktests.git/commitdiff
common/multipath-over-rdma: Remove unused debug operation
authorXiao Yang <yangx.jy@fujitsu.com>
Tue, 17 May 2022 03:52:58 +0000 (11:52 +0800)
committerOmar Sandoval <osandov@fb.com>
Tue, 17 May 2022 23:47:45 +0000 (16:47 -0700)
The loop ("for m in ;") will never be entered and it seems
unnecessary to debug sereval modules during test. So I try
to remove the debug operation.

Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
common/multipath-over-rdma

index cef05ec92d2959b1e26ca9583392c6b68b806750..8b285e636c9d175fc0e77f63360c313b56c855de 100644 (file)
@@ -655,12 +655,6 @@ setup_test() {
                fi
        )
 
-       if [ -d /sys/kernel/debug/dynamic_debug ]; then
-               for m in ; do
-                       echo "module $m +pmf" >/sys/kernel/debug/dynamic_debug/control
-               done
-       fi
-
        setup_rdma || return $?
        start_target || return $?
        echo "Test setup finished" >>"$FULL"