From: Pavel Rochnyack Date: Sat, 16 Jun 2018 04:07:22 +0000 (+0700) Subject: Updated codestyle X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f244f8d6d110e23f4aee70dc4b8ec8747be91678;p=collectd.git Updated codestyle --- diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c index 72e3591c..c24602c0 100644 --- a/src/daemon/plugin.c +++ b/src/daemon/plugin.c @@ -347,7 +347,7 @@ static int create_register_callback(llist_t **list, /* {{{ */ const char *name, void *callback, user_data_t const *ud) { - if ((name == NULL) || (callback == NULL)) + if (name == NULL || callback == NULL) return EINVAL; callback_func_t *cf = calloc(1, sizeof(*cf));