summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-01 22:14:30 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-01 22:14:30 +0000
commitb10bc5a1d50eecffb06f9b6a92d7d74741bd6067 (patch)
treeb7d1b80be21f4dadb46680596102e593f1f6615d
parentd40bc607528a613afeb59bdaabd09ad4d33c67be (diff)
Notes
-rw-r--r--sys/ddb/db_break.c2
-rw-r--r--sys/ddb/db_output.c2
-rw-r--r--sys/ddb/db_ps.c2
-rw-r--r--sys/ddb/db_sym.c2
-rw-r--r--sys/ddb/db_watch.c2
-rw-r--r--sys/ddb/db_write_cmd.c1
6 files changed, 1 insertions, 10 deletions
diff --git a/sys/ddb/db_break.c b/sys/ddb/db_break.c
index 6275f819a2b5..9da67238951b 100644
--- a/sys/ddb/db_break.c
+++ b/sys/ddb/db_break.c
@@ -178,7 +178,6 @@ db_set_breakpoints(void)
register db_breakpoint_t bkpt;
if (!db_breakpoints_inserted) {
-
for (bkpt = db_breakpoint_list;
bkpt != 0;
bkpt = bkpt->link)
@@ -195,7 +194,6 @@ db_clear_breakpoints(void)
register db_breakpoint_t bkpt;
if (db_breakpoints_inserted) {
-
for (bkpt = db_breakpoint_list;
bkpt != 0;
bkpt = bkpt->link)
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index 147a4c597787..3517187f8206 100644
--- a/sys/ddb/db_output.c
+++ b/sys/ddb/db_output.c
@@ -124,11 +124,9 @@ db_putchar(int c, void *arg)
struct dbputchar_arg *dap = arg;
if (dap->da_pbufr == NULL) {
-
/* No bufferized output is provided. */
db_putc(c);
} else {
-
*dap->da_pnext++ = c;
dap->da_remain--;
diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c
index 17aa28b61c8f..cc70fb6a504d 100644
--- a/sys/ddb/db_ps.c
+++ b/sys/ddb/db_ps.c
@@ -266,7 +266,7 @@ dumpthread(volatile struct proc *p, volatile struct thread *td, int all)
char state[9], wprefix;
const char *wmesg;
const void *wchan;
-
+
if (all) {
db_printf("%6d ", td->td_tid);
switch (td->td_state) {
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index cbe60801f390..c6633d0b0e91 100644
--- a/sys/ddb/db_sym.c
+++ b/sys/ddb/db_sym.c
@@ -205,7 +205,6 @@ db_qualify(c_db_sym_t sym, char *symtabname)
return tmp;
}
-
bool
db_eqname(const char *src, const char *dst, int c)
{
@@ -408,7 +407,6 @@ db_symbol_values(c_db_sym_t sym, const char **namep, db_expr_t *valuep)
*valuep = value;
}
-
/*
* Print a the closest symbol to value
*
diff --git a/sys/ddb/db_watch.c b/sys/ddb/db_watch.c
index 2a3ccbf8b00e..f0fbb6768c12 100644
--- a/sys/ddb/db_watch.c
+++ b/sys/ddb/db_watch.c
@@ -277,8 +277,6 @@ db_find_watchpoint(vm_map_t map, db_addr_t addr, db_regs_t regs)
}
#endif
-
-
/* Delete hardware watchpoint */
/*ARGSUSED*/
void
diff --git a/sys/ddb/db_write_cmd.c b/sys/ddb/db_write_cmd.c
index 3b0102da5fc5..65a2821069b5 100644
--- a/sys/ddb/db_write_cmd.c
+++ b/sys/ddb/db_write_cmd.c
@@ -90,4 +90,3 @@ db_write_cmd(db_expr_t address, bool have_addr, db_expr_t count,
db_skip_to_eol();
}
-