summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/cbfs.h3
-rw-r--r--src/lib/cbfs.c14
2 files changed, 0 insertions, 17 deletions
diff --git a/src/include/cbfs.h b/src/include/cbfs.h
index 2db3c94f90..2d09f4b36a 100644
--- a/src/include/cbfs.h
+++ b/src/include/cbfs.h
@@ -73,9 +73,6 @@ void *cbfs_simple_buffer_map(struct cbfs_simple_buffer *buffer,
void *cbfs_simple_buffer_unmap(struct cbfs_simple_buffer *buffer,
const void *address);
-// Utility functions
-int run_address(void *f);
-
/* Defined in individual arch / board implementation. */
int init_default_cbfs_media(struct cbfs_media *media);
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index c0a61b4ea1..cc30940185 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -173,18 +173,4 @@ void *cbfs_simple_buffer_unmap(struct cbfs_simple_buffer *buffer,
return NULL;
}
-/**
- * run_address is passed the address of a function taking no parameters and
- * jumps to it, returning the result.
- * @param f the address to call as a function.
- * @return value returned by the function.
- */
-
-int run_address(void *f)
-{
- int (*v) (void);
- v = f;
- return v();
-}
-
#endif