From 86286c3efd5f2ceb7bc3d4700ab8ba3151c581b6 Mon Sep 17 00:00:00 2001 From: Yehezkel Bernat Date: Tue, 9 Nov 2021 21:28:51 +0200 Subject: [PATCH] trivial: remove outdated comment This comment became outdated with #3940, where the `NULL` check for `priv->ctx` that followed by early return was removed --- libfwupdplugin/fu-plugin.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libfwupdplugin/fu-plugin.c b/libfwupdplugin/fu-plugin.c index c81b3958d..32da0f9e1 100644 --- a/libfwupdplugin/fu-plugin.c +++ b/libfwupdplugin/fu-plugin.c @@ -597,7 +597,6 @@ fu_plugin_has_custom_flag(FuPlugin *self, const gchar *flag) g_return_val_if_fail(FU_IS_PLUGIN(self), FALSE); g_return_val_if_fail(flag != NULL, FALSE); - /* never set up, e.g. in tests */ return fu_context_has_hwid_flag(priv->ctx, flag); }