mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 12:30:17 +00:00
trivial: Remove an unhelpful and untrue error prefix
This commit is contained in:
parent
7a9fffe3a6
commit
060e40b16c
@ -2584,10 +2584,8 @@ fu_engine_get_device(FuEngine *self, const gchar *device_id, GError **error)
|
|||||||
|
|
||||||
/* get the new device */
|
/* get the new device */
|
||||||
device = fu_device_list_get_by_id(self->device_list, device_id, error);
|
device = fu_device_list_get_by_id(self->device_list, device_id, error);
|
||||||
if (device == NULL) {
|
if (device == NULL)
|
||||||
g_prefix_error(error, "failed to get device after replug: ");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
|
|
||||||
/* success */
|
/* success */
|
||||||
return g_steal_pointer(&device);
|
return g_steal_pointer(&device);
|
||||||
|
Loading…
Reference in New Issue
Block a user