diff options
| author | Marek Vasut <[email protected]> | 2024-07-13 15:19:31 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-07-15 12:12:18 -0600 |
| commit | 10cb047b8bf930ff7c9b2fb3c7902b303553c2d3 (patch) | |
| tree | 3ae1d31a5cff43ae7f03804d4bb87da54662f6fd /scripts/dtc/srcpos.c | |
| parent | 2cd9466bedec4950d7291efa95f228c5150ee421 (diff) | |
scripts: Remove duplicate newlines
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'scripts/dtc/srcpos.c')
| -rw-r--r-- | scripts/dtc/srcpos.c | 3 |
1 files changed, 0 insertions, 3 deletions
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, |
