summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 9c49eb094b..6895ebe4d0 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2254,10 +2254,6 @@ static void set_param_opt(struct parmlist_entry **opt_list,
struct parmlist_entry *new_opt, *opt;
bool not_added;
- if (opt_list == NULL) {
- return;
- }
-
opt = *opt_list;
not_added = true;