summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-10 23:07:00 +0000
committerpfg <pfg@FreeBSD.org>2016-04-10 23:07:00 +0000
commitb63211eed5e20b9ad1b7649373ab39eff72e2521 (patch)
treef9ef37d6819baa5fad7e8d8d09e679def3577aa7 /sys/mips
parentbadebc350a608060082d5f1b86f3038714a7d433 (diff)
downloadFreeBSD-src-b63211eed5e20b9ad1b7649373ab39eff72e2521.zip
FreeBSD-src-b63211eed5e20b9ad1b7649373ab39eff72e2521.tar.gz
Cleanup unnecessary semicolons from the kernel.
Found with devel/coccinelle.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/db_disasm.c6
-rw-r--r--sys/mips/mips/db_trace.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/mips/mips/db_disasm.c b/sys/mips/mips/db_disasm.c
index 14788ed..108c9dd 100644
--- a/sys/mips/mips/db_disasm.c
+++ b/sys/mips/mips/db_disasm.c
@@ -226,7 +226,7 @@ md_printins(int ins, int mdbdot)
default:
db_printf("\t%s,%s,%s", reg_name[i.RType.rd],
reg_name[i.RType.rs], reg_name[i.RType.rt]);
- };
+ }
break;
case OP_BCOND:
@@ -288,7 +288,7 @@ md_printins(int ins, int mdbdot)
default:
db_printf("%s", c0_opname[i.FRType.func]);
- };
+ }
break;
case OP_COP1:
@@ -323,7 +323,7 @@ md_printins(int ins, int mdbdot)
db_printf("%s.%s\tf%d,f%d,f%d",
cop1_name[i.FRType.func], fmt_name[i.FRType.fmt],
i.FRType.fd, i.FRType.fs, i.FRType.ft);
- };
+ }
break;
case OP_J:
diff --git a/sys/mips/mips/db_trace.c b/sys/mips/mips/db_trace.c
index 445600c..1359a53 100644
--- a/sys/mips/mips/db_trace.c
+++ b/sys/mips/mips/db_trace.c
@@ -260,7 +260,7 @@ loop:
case OP_SYSCALL:
case OP_BREAK:
more = 1; /* stop now */
- };
+ }
break;
case OP_BCOND:
@@ -281,7 +281,7 @@ loop:
case OP_BCx:
case OP_BCy:
more = 2; /* stop after next instruction */
- };
+ }
break;
case OP_SW:
OpenPOWER on IntegriCloud