summaryrefslogtreecommitdiff
path: root/source4/torture/util_smb.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-02-05 11:32:18 +0100
committerJeremy Allison <jra@samba.org>2016-02-06 21:48:17 +0100
commit476672b647e44898a6de8894b23e598ad13b1fcf (patch)
treefc67ec55ef70436208321dd38061147b138fa8ce /source4/torture/util_smb.c
parent5d759bd0d4bf7cae8b54b69af5ecacb7987c2a0f (diff)
downloadsamba-476672b647e44898a6de8894b23e598ad13b1fcf.tar.gz
dlist: remove unneeded type argument from DLIST_ADD_END()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/util_smb.c')
-rw-r--r--source4/torture/util_smb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c
index 0520f275a4c..32de7536d67 100644
--- a/source4/torture/util_smb.c
+++ b/source4/torture/util_smb.c
@@ -783,7 +783,7 @@ _PUBLIC_ struct torture_test *torture_suite_add_smb_multi_test(
test->fn = run;
test->dangerous = false;
- DLIST_ADD_END(tcase->tests, test, struct torture_test *);
+ DLIST_ADD_END(tcase->tests, test);
return test;
@@ -834,7 +834,7 @@ _PUBLIC_ struct torture_test *torture_suite_add_2smb_test(
test->fn = run;
test->dangerous = false;
- DLIST_ADD_END(tcase->tests, test, struct torture_test *);
+ DLIST_ADD_END(tcase->tests, test);
return test;
@@ -878,7 +878,7 @@ _PUBLIC_ struct torture_test *torture_suite_add_1smb_test(
test->fn = run;
test->dangerous = false;
- DLIST_ADD_END(tcase->tests, test, struct torture_test *);
+ DLIST_ADD_END(tcase->tests, test);
return test;
}