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
ad75d346f7
commit
0986b6b87f
@ -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