From 10cb047b8bf930ff7c9b2fb3c7902b303553c2d3 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sat, 13 Jul 2024 15:19:31 +0200 Subject: scripts: Remove duplicate newlines Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut --- scripts/dtc/srcpos.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripts/dtc/srcpos.c') diff --git a/scripts/dtc/srcpos.c b/scripts/dtc/srcpos.c index c2978611450..0ad89e2af60 100644 --- a/scripts/dtc/srcpos.c +++ b/scripts/dtc/srcpos.c @@ -33,7 +33,6 @@ struct search_path { /* This is the list of directories that we search for source files */ static struct search_path *search_path_head, **search_path_tail; - static char *get_dirname(const char *path) { const char *slash = strrchr(path, '/'); @@ -56,7 +55,6 @@ struct srcfile_state *current_srcfile; /* = NULL */ #define MAX_SRCFILE_DEPTH (100) static int srcfile_depth; /* = 0 */ - /** * Try to open a file in a given directory. * @@ -250,7 +248,6 @@ srcpos_string(struct srcpos *pos) if (pos->file && pos->file->name) fname = pos->file->name; - if (pos->first_line != pos->last_line) xasprintf(&pos_str, "%s:%d.%d-%d.%d", fname, pos->first_line, pos->first_column, -- cgit v1.2.3