[LTP] [PATCH 14/19] fix unused parameter in tpci.c
Michael Moese
mmoese@suse.de
Wed Jan 24 14:03:07 CET 2018
Signed-off-by: Michael Moese <mmoese@suse.de>
---
testcases/kernel/device-drivers/pci/tpci_user/tpci.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testcases/kernel/device-drivers/pci/tpci_user/tpci.c b/testcases/kernel/device-drivers/pci/tpci_user/tpci.c
index 5f9367b36..659c54261 100644
--- a/testcases/kernel/device-drivers/pci/tpci_user/tpci.c
+++ b/testcases/kernel/device-drivers/pci/tpci_user/tpci.c
@@ -47,7 +47,7 @@ static void cleanup(void)
tst_module_unload(NULL, module_name);
}
-void setup(int argc, char *argv[])
+void setup(void)
{
tst_require_root();
@@ -105,9 +105,9 @@ static void test_run(void)
}
}
-int main(int argc, char *argv[])
+int main(void)
{
- setup(argc, argv);
+ setup();
test_run();
--
2.13.6
More information about the ltp
mailing list