diff options
author | Michael Brown | 2009-05-26 12:05:58 +0200 |
---|---|---|
committer | Michael Brown | 2009-05-26 12:05:58 +0200 |
commit | 3c06277bbb6ea135e6a1daf22463a347fc7898c7 (patch) | |
tree | 48469dfe123ab00d0e417535ac7ae7879e84ff24 /src/interface/smbios | |
parent | [multiboot] Include argv[0] as part of "command line" (diff) | |
download | ipxe-3c06277bbb6ea135e6a1daf22463a347fc7898c7.tar.gz ipxe-3c06277bbb6ea135e6a1daf22463a347fc7898c7.tar.xz ipxe-3c06277bbb6ea135e6a1daf22463a347fc7898c7.zip |
[settings] Allow for arbitrarily-named settings
This provides a mechanism for using arbitrarily-named variables within
gPXE, using the existing syntax for settings.
Diffstat (limited to 'src/interface/smbios')
-rw-r--r-- | src/interface/smbios/smbios_settings.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/interface/smbios/smbios_settings.c b/src/interface/smbios/smbios_settings.c index 2235d499..1c965646 100644 --- a/src/interface/smbios/smbios_settings.c +++ b/src/interface/smbios/smbios_settings.c @@ -64,22 +64,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); ( 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 * * @v settings Settings block, or NULL to search all blocks @@ -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, }; |