Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
bake
Commits
a52946cd
Commit
a52946cd
authored
Jan 18, 2021
by
Philip Carns
Browse files
remove old stub target set_conf fns
parent
da26ffb5
Changes
3
Show whitespace changes
Inline
Side-by-side
src/bake-backend.h
View file @
a52946cd
...
...
@@ -92,10 +92,6 @@ typedef int (*bake_create_fileset_fn)(backend_context_t context,
remi_fileset_t
*
fileset
);
#endif
typedef
int
(
*
bake_set_conf_fn
)(
backend_context_t
context
,
const
char
*
key
,
const
char
*
value
);
typedef
struct
bake_backend
{
const
char
*
name
;
bake_backend_initialize_fn
_initialize
;
...
...
@@ -115,7 +111,6 @@ typedef struct bake_backend {
#ifdef USE_REMI
bake_create_fileset_fn
_create_fileset
;
#endif
bake_set_conf_fn
_set_conf
;
}
bake_backend
;
typedef
bake_backend
*
bake_backend_t
;
...
...
src/bake-file-backend.c
View file @
a52946cd
...
...
@@ -567,13 +567,6 @@ static int bake_file_migrate_region(backend_context_t context,
return
BAKE_ERR_OP_UNSUPPORTED
;
}
static
int
bake_file_set_conf
(
backend_context_t
context
,
const
char
*
key
,
const
char
*
value
)
{
return
0
;
}
#ifdef USE_REMI
static
int
bake_file_create_fileset
(
backend_context_t
context
,
remi_fileset_t
*
fileset
)
...
...
@@ -603,8 +596,8 @@ error:
}
#endif
bake_backend
g_bake_file_backend
=
{
.
name
=
"file"
,
bake_backend
g_bake_file_backend
=
{
.
name
=
"file"
,
.
_initialize
=
bake_file_backend_initialize
,
.
_finalize
=
bake_file_backend_finalize
,
.
_create
=
bake_file_create
,
...
...
@@ -622,7 +615,7 @@ bake_backend g_bake_file_backend
#ifdef USE_REMI
.
_create_fileset
=
bake_file_create_fileset
,
#endif
.
_set_conf
=
bake_file_set_conf
};
};
/* common utility function for relaying data in read_bulk/write_bulk */
static
int
transfer_data
(
bake_file_entry_t
*
entry
,
...
...
src/bake-pmem-backend.c
View file @
a52946cd
...
...
@@ -673,15 +673,8 @@ error:
}
#endif
static
int
bake_pmem_set_conf
(
backend_context_t
context
,
const
char
*
key
,
const
char
*
value
)
{
return
0
;
}
bake_backend
g_bake_pmem_backend
=
{.
name
=
"pmem"
,
bake_backend
g_bake_pmem_backend
=
{
.
name
=
"pmem"
,
.
_initialize
=
bake_pmem_backend_initialize
,
.
_finalize
=
bake_pmem_backend_finalize
,
.
_create
=
bake_pmem_create
,
...
...
@@ -699,7 +692,7 @@ bake_backend g_bake_pmem_backend
#ifdef USE_REMI
.
_create_fileset
=
bake_pmem_create_fileset
,
#endif
.
_set_conf
=
bake_pmem_set_conf
};
};
static
void
xfer_ult
(
void
*
_args
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment