diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/rds.h | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/rds.h')
| -rw-r--r-- | include/arch/x86_64/linux/rds.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/arch/x86_64/linux/rds.h b/include/arch/x86_64/linux/rds.h index b93ab987..a3105fd6 100644 --- a/include/arch/x86_64/linux/rds.h +++ b/include/arch/x86_64/linux/rds.h @@ -314,9 +314,8 @@ struct rds_cmsg_rx_trace { * The correspondence between bits and ports is * 1 << (portnum % 64) */ -#define RDS_CONG_MONITOR_SIZE 64 -#define RDS_CONG_MONITOR_BIT(port) \ - (((unsigned int)port) % RDS_CONG_MONITOR_SIZE) +#define RDS_CONG_MONITOR_SIZE 64 +#define RDS_CONG_MONITOR_BIT(port) (((unsigned int)port) % RDS_CONG_MONITOR_SIZE) #define RDS_CONG_MONITOR_MASK(port) (1ULL << RDS_CONG_MONITOR_BIT(port)) /* |
