From 2cd28a5fa4ac6534d92bc5efa8455c2763faf8d7 Mon Sep 17 00:00:00 2001 From: Justin Viiret Date: Tue, 15 Mar 2016 16:31:13 +1100 Subject: [PATCH] scratch: Remove (now unused) tctxtToScratch --- src/scratch.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/scratch.h b/src/scratch.h index 99cdb370..dc99106f 100644 --- a/src/scratch.h +++ b/src/scratch.h @@ -180,12 +180,6 @@ struct ALIGN_CL_DIRECTIVE hs_scratch { u32 som_store_count; }; -static really_inline -struct hs_scratch *tctxtToScratch(struct RoseContext *tctxt) { - return (struct hs_scratch *) - ((char *)tctxt - offsetof(struct hs_scratch, tctxt)); -} - /* array of fatbit ptr; TODO: why not an array of fatbits? */ static really_inline struct fatbit **getAnchoredLiteralLog(struct hs_scratch *scratch) {