[commit: ghc] master: rts/Schedule.c: remove unused variable (9ec5996)

git at git.haskell.org git at git.haskell.org
Thu Oct 22 11:40:08 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9ec599634947e5d8fa2ce4ca3dcc7b27f81d6846/ghc

>---------------------------------------------------------------

commit 9ec599634947e5d8fa2ce4ca3dcc7b27f81d6846
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Thu Oct 22 13:41:48 2015 +0200

    rts/Schedule.c: remove unused variable
    
    Differential Revision: https://phabricator.haskell.org/D1348


>---------------------------------------------------------------

9ec599634947e5d8fa2ce4ca3dcc7b27f81d6846
 rts/Schedule.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/rts/Schedule.c b/rts/Schedule.c
index 257e39a..abbc363 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -91,12 +91,6 @@ volatile StgWord recent_activity = ACTIVITY_YES;
  */
 volatile StgWord sched_state = SCHED_RUNNING;
 
-/*  This is used in `TSO.h' and gcc 2.96 insists that this variable actually
- *  exists - earlier gccs apparently didn't.
- *  -= chak
- */
-StgTSO dummy_tso;
-
 /*
  * This mutex protects most of the global scheduler data in
  * the THREADED_RTS runtime.



More information about the ghc-commits mailing list