diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-03-26 11:09:03 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2015-03-31 06:58:22 +0200 |
commit | 5b9384c3fc4dff5cf755db5a89a8729bea953810 (patch) | |
tree | de4e5d40dab98783b01015c04eb4eec0cfd3c1a6 /src/lib/cbfs.c | |
parent | 98d9678b74ef59420adebaa8aa33c13d58cf58f9 (diff) |
cbfs: remove run_address()
The run_address() function is not used. Remove it.
Change-Id: I96de4cf0a529b08943ff8281cedead642eb415de
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9124
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Diffstat (limited to 'src/lib/cbfs.c')
-rw-r--r-- | src/lib/cbfs.c | 14 |
1 files changed, 0 insertions, 14 deletions
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 |