trivial: remove outdated comment

This comment became outdated with #3940, where the `NULL` check for `priv->ctx` that followed by early return was removed
This commit is contained in:
Yehezkel Bernat 2021-11-09 21:28:51 +02:00 committed by Richard Hughes
parent 774a7098ad
commit 86286c3efd

View File

@ -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(FU_IS_PLUGIN(self), FALSE);
g_return_val_if_fail(flag != NULL, 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); return fu_context_has_hwid_flag(priv->ctx, flag);
} }