summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Subv2017-01-04 23:24:06 -0500
committerGravatar Subv2017-05-15 11:22:16 -0500
commitce5bc477ca0cd59df4922c1c6cd245db365dc7bc (patch)
tree711a57a2134fb9b2029db5e9a2b5e8be122cd739 /src
parentKernel: Use a Session object to keep track of the status of a Client/Server s... (diff)
downloadyuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.tar.gz
yuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.tar.xz
yuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.zip
Kernel: Remove a now unused enum and variable regarding a session's status.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/client_session.cpp1
-rw-r--r--src/core/hle/kernel/client_session.h7
2 files changed, 0 insertions, 8 deletions
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<SharedPtr<ClientSession>> ClientSession::Create(std::string name) {
30 30
31 client_session->name = std::move(name); 31 client_session->name = std::move(name);
32 client_session->parent = nullptr; 32 client_session->parent = nullptr;
33 client_session->session_status = SessionStatus::Open;
34 return MakeResult<SharedPtr<ClientSession>>(std::move(client_session)); 33 return MakeResult<SharedPtr<ClientSession>>(std::move(client_session));
35} 34}
36 35
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 {
16class ServerSession; 16class ServerSession;
17class Session; 17class Session;
18 18
19enum class SessionStatus {
20 Open = 1,
21 ClosedByClient = 2,
22 ClosedBYServer = 3,
23};
24
25class ClientSession final : public Object { 19class ClientSession final : public Object {
26public: 20public:
27 friend class ServerSession; 21 friend class ServerSession;
@@ -49,7 +43,6 @@ public:
49 43
50 /// The parent session, which links to the server endpoint. 44 /// The parent session, which links to the server endpoint.
51 std::shared_ptr<Session> parent; 45 std::shared_ptr<Session> parent;
52 SessionStatus session_status; ///< The session's current status.
53 46
54private: 47private:
55 ClientSession(); 48 ClientSession();