diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index abeff7dc0b58..c362c807f5d6 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -360,7 +360,7 @@ static void __init efi_debugfs_init(void) #else static inline void efi_debugfs_init(void) {} #endif - +/* static void refresh_nv_rng_seed(struct work_struct *work) { u8 seed[EFI_RANDOM_SEED_SIZE]; @@ -378,7 +378,7 @@ static int refresh_nv_rng_seed_notification(struct notifier_block *nb, unsigned return NOTIFY_DONE; } static struct notifier_block refresh_nv_rng_seed_nb = { .notifier_call = refresh_nv_rng_seed_notification }; - +*/ /* * We register the efi subsystem with the firmware subsystem and the * efivars subsystem with the efi subsystem, if the system was booted with @@ -450,10 +450,10 @@ static int __init efisubsys_init(void) if (efi.coco_secret != EFI_INVALID_TABLE_ADDR) platform_device_register_simple("efi_secret", 0, NULL, 0); #endif - +/* if (efi_rt_services_supported(EFI_RT_SUPPORTED_SET_VARIABLE)) execute_with_initialized_rng(&refresh_nv_rng_seed_nb); - +*/ return 0; err_remove_group: