diff options
author | pfg <pfg@FreeBSD.org> | 2016-04-22 16:57:42 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-04-22 16:57:42 +0000 |
commit | b4106812fd1c346ae831c1eb688667161c4e60bb (patch) | |
tree | 7803bf8af81703bf32df733b7c34c420e33402e5 /sys/compat/linux/linux_file.c | |
parent | 2b13469532a58b64cb4ffe5d52467db287a68a31 (diff) | |
download | FreeBSD-src-b4106812fd1c346ae831c1eb688667161c4e60bb.zip FreeBSD-src-b4106812fd1c346ae831c1eb688667161c4e60bb.tar.gz |
Cleanup redundant parenthesis from existing howmany()/roundup() macro uses.
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r-- | sys/compat/linux/linux_file.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 489dc1e..3f9361d 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -305,11 +305,10 @@ struct l_dirent64 { * at least glibc-2.7 requires it. That is why l_dirent is padded with 2 bytes. */ #define LINUX_RECLEN(namlen) \ - roundup((offsetof(struct l_dirent, d_name) + (namlen) + 2), \ - sizeof(l_ulong)) + roundup(offsetof(struct l_dirent, d_name) + (namlen) + 2, sizeof(l_ulong)) #define LINUX_RECLEN64(namlen) \ - roundup((offsetof(struct l_dirent64, d_name) + (namlen) + 1), \ + roundup(offsetof(struct l_dirent64, d_name) + (namlen) + 1, \ sizeof(uint64_t)) #define LINUX_MAXRECLEN max(LINUX_RECLEN(LINUX_NAME_MAX), \ |