summaryrefslogtreecommitdiff
path: root/rts/Task.h
diff options
context:
space:
mode:
authorTomas Carnecky <tomas.carnecky@gmail.com>2016-04-10 18:56:35 +0200
committerBen Gamari <ben@smart-cactus.org>2016-04-10 20:09:04 +0200
commit6d7fda5eebbb2f79d19953947ba7da5fb9c96db4 (patch)
tree966e73a86d4452ea9a2da8e2c5014e128cfb8009 /rts/Task.h
parentf3beed35309e4e8b60aa3f11372d1e00324eb046 (diff)
downloadhaskell-6d7fda5eebbb2f79d19953947ba7da5fb9c96db4.tar.gz
Remove spurious STG_UNUSED annotation
Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2096
Diffstat (limited to 'rts/Task.h')
-rw-r--r--rts/Task.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/rts/Task.h b/rts/Task.h
index 817a99a543..37832a39d3 100644
--- a/rts/Task.h
+++ b/rts/Task.h
@@ -324,11 +324,7 @@ INLINE_HEADER TaskId serialiseTaskId (OSThreadId taskID) {
// Get a serialisable Id for the Task's OS thread
// Needed mainly for logging since the OSThreadId is an opaque type
INLINE_HEADER TaskId
-serialisableTaskId (Task *task
-#if !defined(THREADED_RTS)
- STG_UNUSED
-#endif
- )
+serialisableTaskId (Task *task)
{
#if defined(THREADED_RTS)
return serialiseTaskId(task->id);