diff options
author | pfg <pfg@FreeBSD.org> | 2013-02-08 20:30:19 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-02-08 20:30:19 +0000 |
commit | f908ac5c6e119b1a2dab329c1177ceeae5d937be (patch) | |
tree | f2147104c4871ff2dbf5838bf0f615637f153577 | |
parent | d4bbaff584ffa128a678100869cb3cef9814b603 (diff) | |
download | FreeBSD-src-f908ac5c6e119b1a2dab329c1177ceeae5d937be.zip FreeBSD-src-f908ac5c6e119b1a2dab329c1177ceeae5d937be.tar.gz |
Remove unused MAXSYMLINKLEN macro.
Reviewed by: mckusick
PR: kern/175794
MFC after: 1 week
-rw-r--r-- | sys/fs/ext2fs/inode.h | 1 | ||||
-rw-r--r-- | sys/ufs/ufs/inode.h | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/sys/fs/ext2fs/inode.h b/sys/fs/ext2fs/inode.h index ec47216..6cb85ca 100644 --- a/sys/fs/ext2fs/inode.h +++ b/sys/fs/ext2fs/inode.h @@ -108,7 +108,6 @@ struct inode { */ #define i_shortlink i_db #define i_rdev i_db[0] -#define MAXSYMLINKLEN ((NDADDR + NIADDR) * sizeof(int32_t)) /* File permissions. */ #define IEXEC 0000100 /* Executable. */ diff --git a/sys/ufs/ufs/inode.h b/sys/ufs/ufs/inode.h index 59b170c..6416632 100644 --- a/sys/ufs/ufs/inode.h +++ b/sys/ufs/ufs/inode.h @@ -151,10 +151,6 @@ struct inode { (ip)->i_din2->d##field = (val); \ } while (0) -#define MAXSYMLINKLEN(ip) \ - ((ip)->i_ump->um_fstype == UFS1) ? \ - ((NDADDR + NIADDR) * sizeof(ufs1_daddr_t)) : \ - ((NDADDR + NIADDR) * sizeof(ufs2_daddr_t)) #define SHORTLINK(ip) \ (((ip)->i_ump->um_fstype == UFS1) ? \ (caddr_t)(ip)->i_din1->di_db : (caddr_t)(ip)->i_din2->di_db) |