Commit 8cbe560d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

image: Drop leftover macros

Unused
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 80c1925d
...@@ -120,14 +120,6 @@ struct page_entry { ...@@ -120,14 +120,6 @@ struct page_entry {
#define TASK_STOPPED 0x3 /* FIXME - implement */ #define TASK_STOPPED 0x3 /* FIXME - implement */
#define TASK_HELPER 0x4 #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; extern bool fdinfo_per_id;
#endif /* __CR_IMAGE_H__ */ #endif /* __CR_IMAGE_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment