[Crosstoolchain-logs] [device-tree-compiler] 42/357: Remove dead code.

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.

commit 780c742b1459977d4490bb0021524750b715e449
Author: Jon Loeliger <jdl at jdl.com>
Date:   Sat Jun 24 15:42:51 2006 -0500

    Remove dead code.
    
    Signed-off-by: Jon Loeliger <jdl at jdl.com>
---
 data.c | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/data.c b/data.c
index 911b271..d3b55f9 100644
--- a/data.c
+++ b/data.c
@@ -20,24 +20,6 @@
 
 #include "dtc.h"
 
-#if 0
-static struct data data_init_buf(char *buf, int len)
-{
-	struct data d;
-
-	d.asize = 0;
-	d.len = len;
-	d.val = buf;
-
-	return d;
-}
-
-struct data data_ref_string(char *str)
-{
-	return data_init_buf(str, strlen(str)+1);
-}
-#endif
-
 void fixup_free(struct fixup *f)
 {
 	free(f->ref);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list