aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/client_session.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-05-21 18:52:42 -0500
committerSubv <subv2112@gmail.com>2017-05-21 18:52:42 -0500
commit8e4b05c22abcbd49808a775bcd7508cfd717677b (patch)
treeb8bd602646825ddfa78189f3d89d1a9437a543fa /src/core/hle/kernel/client_session.cpp
parentf98eb7d31515d3dbdd6b2f69a5d8004128340622 (diff)
Kernel/Sessions: Remove the ClientSession::Create function.
It is not meant to be used by anything other than CreateSessionPair.
Diffstat (limited to 'src/core/hle/kernel/client_session.cpp')
-rw-r--r--src/core/hle/kernel/client_session.cpp8
1 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 6737b204b2..e297b7464d 100644
--- a/src/core/hle/kernel/client_session.cpp
+++ b/src/core/hle/kernel/client_session.cpp
@@ -25,14 +25,6 @@ ClientSession::~ClientSession() {
parent->client = nullptr;
}
-ResultVal<SharedPtr<ClientSession>> ClientSession::Create(std::string name) {
- SharedPtr<ClientSession> client_session(new ClientSession);
-
- client_session->name = std::move(name);
- client_session->parent = nullptr;
- return MakeResult<SharedPtr<ClientSession>>(std::move(client_session));
-}
-
ResultCode ClientSession::SendSyncRequest() {
// Signal the server session that new data is available
if (parent->server)