From e5bb515e651e33fadc90c016c28553f2e9d8a956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Sinan=20A=C4=9Facan?= Date: Thu, 10 May 2018 18:05:51 +0300 Subject: rts: remove unused round_up_to_mblocks function --- includes/rts/storage/Block.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'includes/rts/storage') diff --git a/includes/rts/storage/Block.h b/includes/rts/storage/Block.h index 9ba0b15635..ecd6bf5dd8 100644 --- a/includes/rts/storage/Block.h +++ b/includes/rts/storage/Block.h @@ -338,13 +338,4 @@ round_to_mblocks(StgWord words) return words; } -INLINE_HEADER StgWord -round_up_to_mblocks(StgWord words) -{ - words += FIRST_BLOCK_OFF/sizeof(W_); - words = ((words / MBLOCK_SIZE_W) + 1) * MBLOCK_SIZE_W; - words -= FIRST_BLOCK_OFF/sizeof(W_); - return words; -} - #endif /* !CMINUSMINUS */ -- cgit v1.2.1