summaryrefslogtreecommitdiffstats
path: root/src/vlib/unix/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/unix/plugin.c')
-rw-r--r--src/vlib/unix/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/unix/plugin.c b/src/vlib/unix/plugin.c
index 4aba95c863e..15a2bcbbd5c 100644
--- a/src/vlib/unix/plugin.c
+++ b/src/vlib/unix/plugin.c
@@ -163,7 +163,7 @@ load_one_plugin (plugin_main_t * pm, plugin_info_t * pi, int from_early_init)
pi->version = str_array_to_vec ((char *) &reg->version,
sizeof (reg->version));
- if (reg && reg->early_init)
+ if (reg->early_init)
{
clib_error_t *(*ei) (vlib_main_t *);
void *h;