mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-09 04:31:18 +00:00
trivial: dell-dock: correct an assertion related to setting EC version
This is probably fall out from a previous code re-shuffling. The EC version is already set elsewhere, and in many cases `self->ec_version` is `NULL` at this time.
This commit is contained in:
parent
8963d6b4b2
commit
84e948a5b0
@ -443,7 +443,6 @@ fu_dell_dock_ec_get_dock_data (FuDevice *device,
|
||||
/* make sure this hardware spin matches our expecations */
|
||||
if (self->data->board_id >= self->board_min) {
|
||||
fu_dell_dock_ec_set_board (device);
|
||||
fu_device_set_version (device, self->ec_version);
|
||||
fu_device_add_flag (device, FWUPD_DEVICE_FLAG_UPDATABLE);
|
||||
} else {
|
||||
g_warning ("This utility does not support this board, disabling updates for %s",
|
||||
|
Loading…
Reference in New Issue
Block a user