summaryrefslogtreecommitdiffstats
path: root/src/interface/smbios
diff options
context:
space:
mode:
authorMichael Brown2009-05-26 12:05:58 +0200
committerMichael Brown2009-05-26 12:05:58 +0200
commit3c06277bbb6ea135e6a1daf22463a347fc7898c7 (patch)
tree48469dfe123ab00d0e417535ac7ae7879e84ff24 /src/interface/smbios
parent[multiboot] Include argv[0] as part of "command line" (diff)
downloadipxe-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.c17
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,
};