[PATCH 06/26] lib: fwts_framework: remove redundant fw parameter from fwts_framework_show_tests_brief
Colin King
colin.king at canonical.com
Sun Oct 14 20:31:58 UTC 2012
From: Colin Ian King <colin.king at canonical.com>
The framework parameter is not required in fwts_framework_show_tests_brief
so remove it.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
src/lib/src/fwts_framework.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/src/fwts_framework.c b/src/lib/src/fwts_framework.c
index 3be2c3e..8637882 100644
--- a/src/lib/src/fwts_framework.c
+++ b/src/lib/src/fwts_framework.c
@@ -178,7 +178,7 @@ int fwts_framework_compare_test_name(void *data1, void *data2)
* fwts_framework_show_tests()
* dump out registered tests in brief form
*/
-static void fwts_framework_show_tests_brief(fwts_framework *fw)
+static void fwts_framework_show_tests_brief(void)
{
fwts_list sorted;
fwts_list_link *item;
@@ -1173,7 +1173,7 @@ int fwts_framework_args(const int argc, char **argv)
if ((test = fwts_framework_test_find(fw, argv[i])) == NULL) {
fprintf(stderr, "No such test '%s', available tests:\n",argv[i]);
- fwts_framework_show_tests_brief(fw);
+ fwts_framework_show_tests_brief();
ret = FWTS_ERROR;
goto tidy;
}
--
1.7.10.4
More information about the fwts-devel
mailing list