From 8cbe560da3a02a4d3275cefbb64b660dcd33c816 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Tue, 5 Mar 2013 02:24:29 +0400 Subject: [PATCH] image: Drop leftover macros Unused Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- include/image.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/image.h b/include/image.h index c34eb9569..0304ff469 100644 --- a/include/image.h +++ b/include/image.h @@ -120,14 +120,6 @@ struct page_entry { #define TASK_STOPPED 0x3 /* FIXME - implement */ #define TASK_HELPER 0x4 -/* - * There are always 4 magic bytes at the - * beginning of the every file. - */ -#define MAGIC_OFFSET (sizeof(u32)) -#define GET_FILE_OFF(s, m) (offsetof(s,m) + MAGIC_OFFSET) -#define GET_FILE_OFF_AFTER(s) (sizeof(s) + MAGIC_OFFSET) - extern bool fdinfo_per_id; #endif /* __CR_IMAGE_H__ */