diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 9c49eb094b4..6895ebe4d07 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;