From: weiyu Date: Mon, 9 Sep 2019 23:41:00 +0000 (-0700) Subject: Remove unused codes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f45f762b63824c0e6e115bf456a853e36a5ca370;p=c11tester.git Remove unused codes --- diff --git a/include/mutex.h b/include/mutex.h index d90d6645..64473b2a 100644 --- a/include/mutex.h +++ b/include/mutex.h @@ -25,8 +25,6 @@ public: bool try_lock(); void unlock(); struct mutex_state * get_state() {return &state;} - void initialize() { state.init = 1; } // WL - bool is_initialized() { return state.init == 1; } private: struct mutex_state state;