scratch: Remove (now unused) tctxtToScratch

This commit is contained in:
Justin Viiret 2016-03-15 16:31:13 +11:00 committed by Matthew Barr
parent d0aa138ada
commit 2cd28a5fa4

View File

@ -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) {