summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-08-18 21:16:50 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2019-08-18 21:16:50 +0100
commit29c8d2c3399220156d9a8ab1e442f3b52d8d8326 (patch)
tree98588b5c8e0f9eeb0fad3afe37145086fc611ff3
parent80f2b4833ec2efc68ac78b4ae818d76d651abeca (diff)
downloadqemu-openbios-29c8d2c3399220156d9a8ab1e442f3b52d8d8326.tar.gz
libopenbios: remove REGISTER_NAMED_NODE and REGISTER_NAMED_NODE_PHANDLE macros
Now that we've removed all references to these binding macros they can be removed completely. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
-rw-r--r--include/libopenbios/bindings.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/libopenbios/bindings.h b/include/libopenbios/bindings.h
index 6360a4f7..6b0302da 100644
--- a/include/libopenbios/bindings.h
+++ b/include/libopenbios/bindings.h
@@ -108,17 +108,6 @@ typedef struct {
void *func;
} method_t;
-#define REGISTER_NAMED_NODE( name, path ) do { \
- bind_new_node( name##_flags_, name##_size_, \
- path, name##_m, sizeof(name##_m)/sizeof(method_t)); \
- } while(0)
-
-#define REGISTER_NAMED_NODE_PHANDLE( name, path, phandle ) do { \
- phandle = \
- bind_new_node( name##_flags_, name##_size_, \
- path, name##_m, sizeof(name##_m)/sizeof(method_t)); \
- } while(0)
-
#define REGISTER_NODE_METHODS( name, path ) do { \
const char *paths[1]; \
\