diff --git a/ykcapi/src/lib.rs b/ykcapi/src/lib.rs index a155c6760..658f0861d 100644 --- a/ykcapi/src/lib.rs +++ b/ykcapi/src/lib.rs @@ -76,7 +76,6 @@ pub unsafe extern "C" fn yk_mt_hot_threshold_set(mt: *const MT, hot_threshold: H let arc = unsafe { Arc::from_raw(mt) }; arc.set_hot_threshold(hot_threshold); forget(arc); - return; } #[no_mangle]