mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
[settings] Remove now-unused store_named_setting()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -315,9 +315,6 @@ extern int fetchf_setting_copy ( struct settings *settings,
|
||||
extern int storef_setting ( struct settings *settings,
|
||||
struct setting *setting,
|
||||
const char *value );
|
||||
extern int store_named_setting ( const char *name,
|
||||
struct setting_type *default_type,
|
||||
const void *data, size_t len );
|
||||
extern int storef_named_setting ( const char *name,
|
||||
struct setting_type *default_type,
|
||||
const char *value );
|
||||
@@ -402,16 +399,6 @@ static inline int delete_setting ( struct settings *settings,
|
||||
return store_setting ( settings, setting, NULL, 0 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete named setting
|
||||
*
|
||||
* @v name Name of setting
|
||||
* @ret rc Return status code
|
||||
*/
|
||||
static inline int delete_named_setting ( const char *name ) {
|
||||
return store_named_setting ( name, NULL, NULL, 0 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Check existence of setting
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user