Remove unused declaration and update ddb.4

A follow-up to r322836.

Warnings for the unused declaration were breaking some second tier
architectures, but did not show up in Clang on x86.

Reported by:	markj (ddb.4), emaste (declaration)
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Conrad Meyer 2017-08-24 19:16:25 +00:00
parent b1c4d096e6
commit d2e155a4f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322853
2 changed files with 5 additions and 7 deletions

View file

@ -60,7 +60,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd March 3, 2017
.Dd August 24, 2017
.Dt DDB 4
.Os
.Sh NAME
@ -782,7 +782,7 @@ Lock owner.
.It Ic show Cm lockchain Ar addr
Show all threads a particular thread at address
.Ar addr
is waiting on based on non-sleepable and non-spin locks.
is waiting on based on non-spin locks.
.\"
.Pp
.It Ic show Cm lockedbufs
@ -960,8 +960,9 @@ Useful for long debugging sessions.
.\"
.Pp
.It Ic show Cm sleepchain
Show all the threads a particular thread is waiting on based on
sleepable locks.
Deprecated.
Now an alias for
.Ic show Cm lockchain .
.\"
.Pp
.It Ic show Cm sleepq

View file

@ -157,9 +157,6 @@ static void init_turnstile0(void *dummy);
#ifdef TURNSTILE_PROFILING
static void init_turnstile_profiling(void *arg);
#endif
#ifdef DDB
static void print_sleepchain(struct thread *td, const char *prefix);
#endif
static void propagate_priority(struct thread *td);
static int turnstile_adjust_thread(struct turnstile *ts,
struct thread *td);