From ce5bc477ca0cd59df4922c1c6cd245db365dc7bc Mon Sep 17 00:00:00 2001 From: Subv Date: Wed, 4 Jan 2017 23:24:06 -0500 Subject: Kernel: Remove a now unused enum and variable regarding a session's status. --- src/core/hle/kernel/client_session.cpp | 1 - src/core/hle/kernel/client_session.h | 7 ------- 2 files changed, 8 deletions(-) (limited to 'src/core/hle') diff --git a/src/core/hle/kernel/client_session.cpp b/src/core/hle/kernel/client_session.cpp index c2f48176e..6737b204b 100644 --- a/src/core/hle/kernel/client_session.cpp +++ b/src/core/hle/kernel/client_session.cpp @@ -30,7 +30,6 @@ ResultVal> ClientSession::Create(std::string name) { client_session->name = std::move(name); client_session->parent = nullptr; - client_session->session_status = SessionStatus::Open; return MakeResult>(std::move(client_session)); } diff --git a/src/core/hle/kernel/client_session.h b/src/core/hle/kernel/client_session.h index adb2d0b5f..5ec4ee901 100644 --- a/src/core/hle/kernel/client_session.h +++ b/src/core/hle/kernel/client_session.h @@ -16,12 +16,6 @@ namespace Kernel { class ServerSession; class Session; -enum class SessionStatus { - Open = 1, - ClosedByClient = 2, - ClosedBYServer = 3, -}; - class ClientSession final : public Object { public: friend class ServerSession; @@ -49,7 +43,6 @@ public: /// The parent session, which links to the server endpoint. std::shared_ptr parent; - SessionStatus session_status; ///< The session's current status. private: ClientSession(); -- cgit v1.2.3