Message ID | 20220609214223.4608-7-pvorel@suse.cz (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | shell: nfs: $TST_ALL_FILESYSTEMS (.all_filesystems) | expand |
Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
diff --git a/testcases/lib/tst_device.c b/testcases/lib/tst_device.c index 2a3ab1222..d6b74a5ff 100644 --- a/testcases/lib/tst_device.c +++ b/testcases/lib/tst_device.c @@ -40,11 +40,10 @@ static int acquire_device(int argc, char *argv[]) } } - if (argc >= 4) { + if (argc >= 4) device = tst_acquire_loop_device(size, argv[3]); - } else { + else device = tst_acquire_device__(size); - } if (!device) return 1;
to keep checkpatch.pl happy. Signed-off-by: Petr Vorel <pvorel@suse.cz> --- testcases/lib/tst_device.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)