From 3c06277bbb6ea135e6a1daf22463a347fc7898c7 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 26 May 2009 11:05:58 +0100 Subject: [settings] Allow for arbitrarily-named settings This provides a mechanism for using arbitrarily-named variables within gPXE, using the existing syntax for settings. --- src/interface/smbios/smbios_settings.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/interface') diff --git a/src/interface/smbios/smbios_settings.c b/src/interface/smbios/smbios_settings.c index 2235d4998..1c9656464 100644 --- a/src/interface/smbios/smbios_settings.c +++ b/src/interface/smbios/smbios_settings.c @@ -63,22 +63,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); ( (_type) << 16 ) | \ ( offsetof ( _structure, _field ) << 8 ) ) -/** - * Store value of SMBIOS setting - * - * @v settings Settings block - * @v setting Setting to store - * @v data Setting data, or NULL to clear setting - * @v len Length of setting data - * @ret rc Return status code - */ -static int smbios_store ( struct settings *settings __unused, - struct setting *setting __unused, - const void *data __unused, size_t len __unused ) { - /* Cannot write data into SMBIOS */ - return -ENOTSUP; -} - /** * Fetch value of SMBIOS setting * @@ -135,7 +119,6 @@ static int smbios_fetch ( struct settings *settings __unused, /** SMBIOS settings operations */ static struct settings_operations smbios_settings_operations = { - .store = smbios_store, .fetch = smbios_fetch, }; -- cgit v1.2.3-55-g7522