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 /sys/ufs | |
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
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/inode.h | 4 |
1 files changed, 0 insertions, 4 deletions
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) |