From f908ac5c6e119b1a2dab329c1177ceeae5d937be Mon Sep 17 00:00:00 2001 From: pfg Date: Fri, 8 Feb 2013 20:30:19 +0000 Subject: Remove unused MAXSYMLINKLEN macro. Reviewed by: mckusick PR: kern/175794 MFC after: 1 week --- sys/ufs/ufs/inode.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/ufs') 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) -- cgit v1.1