From: Justin Viiret Date: Tue, 15 Mar 2016 05:31:13 +0000 (+1100) Subject: scratch: Remove (now unused) tctxtToScratch X-Git-Tag: v4.2.0^2~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cd28a5fa4ac6534d92bc5efa8455c2763faf8d7;p=thirdparty%2Fvectorscan.git scratch: Remove (now unused) tctxtToScratch --- 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) {