mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Kernel: Stop allocating the PS2KeyboardDevice in the eternal heap
The PS2KeyboardDevice can be free'd in try_to_initialize if the initialization failed, resulting in an assertion.
This commit is contained in:
parent
59fec42a25
commit
df7d938808
1 changed files with 0 additions and 1 deletions
|
@ -21,7 +21,6 @@ namespace Kernel {
|
|||
class PS2KeyboardDevice final : public IRQHandler
|
||||
, public KeyboardDevice
|
||||
, public I8042Device {
|
||||
AK_MAKE_ETERNAL
|
||||
public:
|
||||
static RefPtr<PS2KeyboardDevice> try_to_initialize(const I8042Controller&);
|
||||
virtual ~PS2KeyboardDevice() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue