From f244f8d6d110e23f4aee70dc4b8ec8747be91678 Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Sat, 16 Jun 2018 11:07:22 +0700 Subject: [PATCH] Updated codestyle --- src/daemon/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.11.0