From f45f762b63824c0e6e115bf456a853e36a5ca370 Mon Sep 17 00:00:00 2001 From: weiyu Date: Mon, 9 Sep 2019 16:41:00 -0700 Subject: [PATCH] Remove unused codes --- include/mutex.h | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.34.1