diff options
author | Tom Rini <trini@konsulko.com> | 2016-10-18 10:20:26 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-18 10:20:26 -0400 |
commit | bb297ceea8bf6cc0291c556f64f49b89368f10ba (patch) | |
tree | a37b0d2af3d94480f372129e6aac53dba366937f /arch/x86/lib/tables.c | |
parent | 644074671e702e8dc0ef642b353845a40f8053da (diff) | |
parent | f822403f0164be74a5161b65698d0f01f4556234 (diff) |
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/x86/lib/tables.c')
-rw-r--r-- | arch/x86/lib/tables.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c index f92111e4c8a..9ee6b5e9249 100644 --- a/arch/x86/lib/tables.c +++ b/arch/x86/lib/tables.c @@ -38,18 +38,6 @@ static table_write table_write_funcs[] = { #endif }; -u8 table_compute_checksum(void *v, int len) -{ - u8 *bytes = v; - u8 checksum = 0; - int i; - - for (i = 0; i < len; i++) - checksum -= bytes[i]; - - return checksum; -} - void table_fill_string(char *dest, const char *src, size_t n, char pad) { int start, len; |