mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 17:11:46 +00:00
trivial: Don't show (null) in the debug logs
This commit is contained in:
parent
ae252cd83c
commit
9b7bd190ed
@ -164,17 +164,16 @@ fu_usb_device_open (FuUsbDevice *device, GError **error)
|
|||||||
if (priv->usb_device_locker != NULL)
|
if (priv->usb_device_locker != NULL)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
/* profile */
|
|
||||||
ptask = as_profile_start (profile, "%s:added{%04x:%04x}",
|
|
||||||
fu_device_get_plugin (FU_DEVICE (device)),
|
|
||||||
g_usb_device_get_vid (priv->usb_device),
|
|
||||||
g_usb_device_get_pid (priv->usb_device));
|
|
||||||
g_assert (ptask != NULL);
|
|
||||||
|
|
||||||
/* probe */
|
/* probe */
|
||||||
if (!fu_usb_device_probe (device, error))
|
if (!fu_usb_device_probe (device, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
/* profile */
|
||||||
|
ptask = as_profile_start (profile, "added{%04x:%04x}",
|
||||||
|
g_usb_device_get_vid (priv->usb_device),
|
||||||
|
g_usb_device_get_pid (priv->usb_device));
|
||||||
|
g_assert (ptask != NULL);
|
||||||
|
|
||||||
/* open */
|
/* open */
|
||||||
locker = fu_device_locker_new (priv->usb_device, error);
|
locker = fu_device_locker_new (priv->usb_device, error);
|
||||||
if (locker == NULL)
|
if (locker == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user