kernel: Remove unused variables

Resolves some compiler warnings in the Linux build.
This commit is contained in:
Lioncash 2020-07-16 13:40:38 -04:00
parent 0cfda822cc
commit 3fe863c8f2
3 changed files with 2 additions and 7 deletions

View file

@ -24,7 +24,6 @@ namespace Kernel {
// Wake up num_to_wake (or all) threads in a vector.
void AddressArbiter::WakeThreads(const std::vector<std::shared_ptr<Thread>>& waiting_threads,
s32 num_to_wake) {
auto& time_manager = system.Kernel().TimeManager();
// Only process up to 'target' threads, unless 'target' is <= 0, in which case process
// them all.
std::size_t last = waiting_threads.size();