summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-01-21 14:09:15 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-21 14:58:07 +0100
commit150cf52a3e904442fe55d731c55a528a17da3584 (patch)
tree2fe760b9eab9b67ee8032b784273cc00fc6a8530 /fs/ubifs
parentea1f2061bd5f7205d512747919fc8ab2515285ba (diff)
downloadbarebox-150cf52a3e904442fe55d731c55a528a17da3584.tar.gz
barebox-150cf52a3e904442fe55d731c55a528a17da3584.tar.xz
fs: ubifs: remove redundant macro defines
fs/ubifs/ubifs.h includes <common.h> and the macros INT_MAX, INT_MIN, LLONG_MAX are already defined there. The same defines in fs/ubifs/ubifs.h are redundant. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/ubifs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index b4a9d76b09..c025d34825 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -318,10 +318,6 @@ struct file {
#define MAX_LFS_FILESIZE 0x7fffffffffffffffUL
#endif
-#define INT_MAX ((int)(~0U>>1))
-#define INT_MIN (-INT_MAX - 1)
-#define LLONG_MAX ((long long)(~0ULL>>1))
-
/*
* These are the fs-independent mount-flags: up to 32 flags are supported
*/