mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Delete some unused macros detected with -Wp,-Wunused-macros use
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@482 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -170,9 +170,6 @@ struct ext2_inode
|
||||
osd2; /* OS dependent 2 */
|
||||
};
|
||||
|
||||
/* linux/limits.h */
|
||||
#define NAME_MAX 255 /* # chars in a file name */
|
||||
|
||||
/* linux/posix_type.h */
|
||||
typedef long linux_off_t;
|
||||
|
||||
@@ -187,18 +184,6 @@ struct ext2_dir_entry
|
||||
char name[EXT2_NAME_LEN]; /* File name */
|
||||
};
|
||||
|
||||
/* linux/ext2fs.h */
|
||||
/*
|
||||
* EXT2_DIR_PAD defines the directory entries boundaries
|
||||
*
|
||||
* NOTE: It must be a multiple of 4
|
||||
*/
|
||||
#define EXT2_DIR_PAD 4
|
||||
#define EXT2_DIR_ROUND (EXT2_DIR_PAD - 1)
|
||||
#define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \
|
||||
~EXT2_DIR_ROUND)
|
||||
|
||||
|
||||
/* ext2/super.c */
|
||||
#define EXT2_SUPER_MAGIC 0xEF53 /* include/linux/ext2_fs.h */
|
||||
#define EXT2_ROOT_INO 2 /* include/linux/ext2_fs.h */
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#include "shared.h"
|
||||
#include "filesys.h"
|
||||
#include "iso9660.h"
|
||||
#define DEBUG_THIS 1
|
||||
#include "debug.h"
|
||||
|
||||
#if defined(__sparc__) || defined(__PPC__)
|
||||
|
||||
Reference in New Issue
Block a user