Eliminate a micro-optimization that hasn't had any effect for 15+ years.

This commit is contained in:
peter 2007-05-17 15:31:14 +00:00
parent 2401c2cdb8
commit 4a84495e50

View File

@ -718,12 +718,7 @@ vn_stat(vp, sb, active_cred, file_cred, td)
else
sb->st_gen = vap->va_gen;
#if (S_BLKSIZE == 512)
/* Optimize this case */
sb->st_blocks = vap->va_bytes >> 9;
#else
sb->st_blocks = vap->va_bytes / S_BLKSIZE;
#endif
return (0);
}