Skip to content

Commit 3aadf10

Browse files
committed
Revert "vmgenid: emit uevent when VMGENID updates"
This reverts commit ad6bcda. I had nak'd it, and Greg said on the thread that it links that he wasn't going to take it either, especially since it's not his code or his tree, but then, seemingly accidentally, it got pushed up some months later, in what looks like a mistake, with no further discussion in the linked thread. So revert it, since it's clearly not intended. Fixes: ad6bcda ("vmgenid: emit uevent when VMGENID updates") Cc: [email protected] Acked-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent e871abc commit 3aadf10

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/virt/vmgenid.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,13 @@ static int vmgenid_add(struct acpi_device *device)
6868
static void vmgenid_notify(struct acpi_device *device, u32 event)
6969
{
7070
struct vmgenid_state *state = acpi_driver_data(device);
71-
char *envp[] = { "NEW_VMGENID=1", NULL };
7271
u8 old_id[VMGENID_SIZE];
7372

7473
memcpy(old_id, state->this_id, sizeof(old_id));
7574
memcpy(state->this_id, state->next_id, sizeof(state->this_id));
7675
if (!memcmp(old_id, state->this_id, sizeof(old_id)))
7776
return;
7877
add_vmfork_randomness(state->this_id, sizeof(state->this_id));
79-
kobject_uevent_env(&device->dev.kobj, KOBJ_CHANGE, envp);
8078
}
8179

8280
static const struct acpi_device_id vmgenid_ids[] = {

0 commit comments

Comments
 (0)