diff options
| author | 2019-04-14 06:06:04 -0400 | |
|---|---|---|
| committer | 2019-04-14 06:06:06 -0400 | |
| commit | 09caf8a7562c15a6562532e2e946a9a08ac246f7 (patch) | |
| tree | e24a583b73e376f70c7ca600da4b923bf8caba51 /src/core/hle/kernel/thread.h | |
| parent | Merge pull request #2378 from lioncash/ro (diff) | |
| download | yuzu-09caf8a7562c15a6562532e2e946a9a08ac246f7.tar.gz yuzu-09caf8a7562c15a6562532e2e946a9a08ac246f7.tar.xz yuzu-09caf8a7562c15a6562532e2e946a9a08ac246f7.zip | |
kernel/thread: Remove unused guest_handle member variable
This member variable is entirely unused. It was only set but never
actually utilized. Given that, we can remove it to get rid of noise in
the thread interface.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 83c83e45a..e14b84a81 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -345,10 +345,6 @@ public: | |||
| 345 | arb_wait_address = address; | 345 | arb_wait_address = address; |
| 346 | } | 346 | } |
| 347 | 347 | ||
| 348 | void SetGuestHandle(Handle handle) { | ||
| 349 | guest_handle = handle; | ||
| 350 | } | ||
| 351 | |||
| 352 | bool HasWakeupCallback() const { | 348 | bool HasWakeupCallback() const { |
| 353 | return wakeup_callback != nullptr; | 349 | return wakeup_callback != nullptr; |
| 354 | } | 350 | } |
| @@ -442,9 +438,6 @@ private: | |||
| 442 | /// If waiting for an AddressArbiter, this is the address being waited on. | 438 | /// If waiting for an AddressArbiter, this is the address being waited on. |
| 443 | VAddr arb_wait_address{0}; | 439 | VAddr arb_wait_address{0}; |
| 444 | 440 | ||
| 445 | /// Handle used by guest emulated application to access this thread | ||
| 446 | Handle guest_handle = 0; | ||
| 447 | |||
| 448 | /// Handle used as userdata to reference this object when inserting into the CoreTiming queue. | 441 | /// Handle used as userdata to reference this object when inserting into the CoreTiming queue. |
| 449 | Handle callback_handle = 0; | 442 | Handle callback_handle = 0; |
| 450 | 443 | ||