Updated codestyle
authorPavel Rochnyack <pavel2000@ngs.ru>
Sat, 16 Jun 2018 04:07:22 +0000 (11:07 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Wed, 20 Jun 2018 04:32:34 +0000 (11:32 +0700)
src/daemon/plugin.c

index 72e3591..c24602c 100644 (file)
@@ -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));