[LTP] [PATCH] syscalls/umount2_02: remove useless TST_ERR assignment
Dai Shili
daisl.fnst@fujitsu.com
Fri Mar 25 22:22:56 CET 2022
Signed-off-by: Dai Shili <daisl.fnst@fujitsu.com>
---
testcases/kernel/syscalls/umount2/umount2_02.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/testcases/kernel/syscalls/umount2/umount2_02.c b/testcases/kernel/syscalls/umount2/umount2_02.c
index 4c3b30e..d1aed11 100644
--- a/testcases/kernel/syscalls/umount2/umount2_02.c
+++ b/testcases/kernel/syscalls/umount2/umount2_02.c
@@ -69,7 +69,6 @@ static int umount2_retry(const char *target, int flags)
tst_res(TWARN, "Failed to umount('%s', %i) after 50 retries",
target, flags);
- TST_ERR = EBUSY;
return -1;
}
--
1.8.3.1
More information about the ltp
mailing list