include feedback from review, make the code easier.
Signed-off-by: Matthias Runge <mrunge@redhat.com>
continue;
if ((isdupstr((const char **)*names, *names_num, token))) {
- if (str_list != NULL)
- ERROR(RDT_PLUGIN ": Duplicated process name \'%s\' in group \'%s\'",
- token, str_list);
- else
- ERROR(RDT_PLUGIN ": Duplicated process name \'%s\'", token);
+ ERROR(RDT_PLUGIN ": Duplicated process name \'%s\'", token);
return -EINVAL;
} else {