diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2015-06-06 19:48:25 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-06-08 00:55:07 +0200 |
commit | 52648623e03e6769ae73ef8ee999d671fb657d62 (patch) | |
tree | 2e0c7675c40463cb7864b0b119e50eeadf892a78 /util/nvramtool | |
parent | 4ba3b79537008b4d2448848901212cf2251188d1 (diff) |
Remove empty lines at end of file
Used command line to remove empty lines at end of file:
find . -type f -exec sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \;
Change-Id: I816ac9666b6dbb7c7e47843672f0d5cc499766a3
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: http://review.coreboot.org/10446
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/nvramtool')
-rw-r--r-- | util/nvramtool/Makefile.inc | 2 | ||||
-rw-r--r-- | util/nvramtool/accessors/cmos-hw-unix.c | 1 | ||||
-rw-r--r-- | util/nvramtool/accessors/cmos-mem.c | 1 | ||||
-rw-r--r-- | util/nvramtool/accessors/layout-bin.c | 1 | ||||
-rw-r--r-- | util/nvramtool/cbfs.c | 1 | ||||
-rw-r--r-- | util/nvramtool/cbfs.h | 1 | ||||
-rw-r--r-- | util/nvramtool/hexdump.c | 1 | ||||
-rw-r--r-- | util/nvramtool/lbtable.c | 1 | ||||
-rw-r--r-- | util/nvramtool/reg_expr.c | 1 |
9 files changed, 0 insertions, 10 deletions
diff --git a/util/nvramtool/Makefile.inc b/util/nvramtool/Makefile.inc index dc45edec4b..5643caa01a 100644 --- a/util/nvramtool/Makefile.inc +++ b/util/nvramtool/Makefile.inc @@ -50,5 +50,3 @@ $(objutil)/nvramtool/%.o: $(top)/util/nvramtool/%.c $(objutil)/nvramtool/nvramtool: $(objutil)/nvramtool $(objutil)/nvramtool/accessors $(objutil)/nvramtool/cli $(addprefix $(objutil)/nvramtool/,$(nvramtoolobj)) printf " HOSTCC $(subst $(objutil)/,,$(@)) (link)\n" $(HOSTCC) $(NVRAMTOOLFLAGS) -o $@ $(addprefix $(objutil)/nvramtool/,$(nvramtoolobj)) $(NVRAMTOOLLDFLAGS) - - diff --git a/util/nvramtool/accessors/cmos-hw-unix.c b/util/nvramtool/accessors/cmos-hw-unix.c index 9a39a0c686..acefdf7cea 100644 --- a/util/nvramtool/accessors/cmos-hw-unix.c +++ b/util/nvramtool/accessors/cmos-hw-unix.c @@ -166,4 +166,3 @@ cmos_access_t cmos_hal = { .write = cmos_hal_write, .set_iopl = cmos_set_iopl, }; - diff --git a/util/nvramtool/accessors/cmos-mem.c b/util/nvramtool/accessors/cmos-mem.c index c124cdeee8..619a68a2c6 100644 --- a/util/nvramtool/accessors/cmos-mem.c +++ b/util/nvramtool/accessors/cmos-mem.c @@ -34,4 +34,3 @@ cmos_access_t memory_hal = { .write = mem_hal_write, .set_iopl = mem_set_iopl, }; - diff --git a/util/nvramtool/accessors/layout-bin.c b/util/nvramtool/accessors/layout-bin.c index dde3e27dd8..95c5ee5046 100644 --- a/util/nvramtool/accessors/layout-bin.c +++ b/util/nvramtool/accessors/layout-bin.c @@ -606,4 +606,3 @@ static const struct lb_record *next_cmos_rec(const struct lb_record *last, return NULL; } - diff --git a/util/nvramtool/cbfs.c b/util/nvramtool/cbfs.c index 1d340b4fbe..5db438b06c 100644 --- a/util/nvramtool/cbfs.c +++ b/util/nvramtool/cbfs.c @@ -151,4 +151,3 @@ void open_cbfs(const char *filename) } cbfs_offset = cbfs_mapped-(0xffffffff-cbfs_stat.st_size+1); } - diff --git a/util/nvramtool/cbfs.h b/util/nvramtool/cbfs.h index 8c02d9de8b..a855f812a9 100644 --- a/util/nvramtool/cbfs.h +++ b/util/nvramtool/cbfs.h @@ -178,4 +178,3 @@ void *cbfs_find_file(const char *name, unsigned int type, unsigned int *len); void open_cbfs(const char *filename); #endif - diff --git a/util/nvramtool/hexdump.c b/util/nvramtool/hexdump.c index e6d9faf033..4f0023dd73 100644 --- a/util/nvramtool/hexdump.c +++ b/util/nvramtool/hexdump.c @@ -185,4 +185,3 @@ static void addrprint(FILE * outfile, uint64_t address, int width) fprintf(outfile, ":"); } } - diff --git a/util/nvramtool/lbtable.c b/util/nvramtool/lbtable.c index d6553c18b8..135d4e5848 100644 --- a/util/nvramtool/lbtable.c +++ b/util/nvramtool/lbtable.c @@ -887,4 +887,3 @@ static void string_print_fn(const struct lb_record *rec) p = (const struct lb_string *)rec; printf("%s\n", p->string); } - diff --git a/util/nvramtool/reg_expr.c b/util/nvramtool/reg_expr.c index 3875f592e4..33f34457c6 100644 --- a/util/nvramtool/reg_expr.c +++ b/util/nvramtool/reg_expr.c @@ -48,4 +48,3 @@ void compile_reg_expr(int cflags, const char *expr, regex_t *reg) exit(1); } } - |