upcall_free() was only used in kse_GC() which has been removed so it now
results unused; this, with -Werror option of gcc, rise a warning for gcc which let the buildkernel to be busted. Fix this removing upcall_free(). Reported by: various Approved by: jeff Approved by: re Pointy hat to: attilio
This commit is contained in:
parent
ac8094e4e3
commit
758b17a100
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171558
@ -67,7 +67,6 @@ static int thread_update_usr_ticks(struct thread *td);
|
||||
static void thread_alloc_spare(struct thread *td);
|
||||
static struct thread *thread_schedule_upcall(struct thread *td, struct kse_upcall *ku);
|
||||
static struct kse_upcall *upcall_alloc(void);
|
||||
static void upcall_free(struct kse_upcall *ku);
|
||||
|
||||
|
||||
struct mtx kse_lock;
|
||||
@ -82,13 +81,6 @@ upcall_alloc(void)
|
||||
return (ku);
|
||||
}
|
||||
|
||||
void
|
||||
upcall_free(struct kse_upcall *ku)
|
||||
{
|
||||
|
||||
uma_zfree(upcall_zone, ku);
|
||||
}
|
||||
|
||||
void
|
||||
upcall_remove(struct thread *td)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user