From 0d304c18e2cf1451a45c69aac61198d896da1e4d Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 14 Nov 2005 23:04:55 +0000 Subject: comment and unify lb_uint64 handling as discussed on the mailinglist git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2086 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/lbtdump/lbtdump.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'util/lbtdump') diff --git a/util/lbtdump/lbtdump.c b/util/lbtdump/lbtdump.c index 4b5d9dfa65..e799e8d0c3 100644 --- a/util/lbtdump/lbtdump.c +++ b/util/lbtdump/lbtdump.c @@ -9,14 +9,6 @@ #include #include "../../src/include/boot/linuxbios_tables.h" -static inline uint64_t unpack_lb64(struct lb_uint64 value) -{ - uint64_t result; - result = value.hi; - result = (result << 32) + value.lo; - return result; -} - void print_lb_records(struct lb_record *rec, struct lb_record *last, unsigned long addr); unsigned long compute_checksum(void *addr, unsigned long length) -- cgit v1.2.3