diff options
| author | Subv <subv2112@gmail.com> | 2017-05-21 18:52:42 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2017-05-21 18:52:42 -0500 |
| commit | 37347bfa380464a1ee1236d2a35f1ec1b697e4b6 (patch) | |
| tree | b8bd602646825ddfa78189f3d89d1a9437a543fa /src/core/hle/kernel/client_session.cpp | |
| parent | ce5bc477ca0cd59df4922c1c6cd245db365dc7bc (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.cpp | 8 |
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 6737b204b..e297b7464 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) |
