Kernel: Remove unused FileBlockCondition::m_file.

This commit is contained in:
Michel Hermier 2021-03-24 19:11:59 +01:00 committed by Andreas Kling
commit 4ac49eabd5
Notes: sideshowbarker 2024-07-18 21:04:27 +09:00
2 changed files with 1 additions and 8 deletions

View file

@ -43,10 +43,7 @@ class File;
class FileBlockCondition : public Thread::BlockCondition {
public:
FileBlockCondition(File& file)
: m_file(file)
{
}
FileBlockCondition() { }
virtual bool should_add_blocker(Thread::Blocker& b, void* data) override
{
@ -64,9 +61,6 @@ public:
return blocker.unblock(false, data);
});
}
private:
File& m_file;
};
// File is the base class for anything that can be referenced by a FileDescription.